PDA

查看完整版本: 已解決 CMS根,論壇 /論壇



norku
07-03-11, 10:20
嗨,

我想知道什麼樣的變化都需要你的vbet安裝說明論壇的有步驟,在下面的鏈接實現(特別是第二組的指示在該職位的VB安裝在/論壇):

WWW .vbseo.com/f5/vbseo-3-5-release-candidate-1-here-39776/index10.html#post254125百度推廣 3.5發布候選 1就在這裡! - 簡體 SEO論壇

我試圖安裝 vbet昨天收到了404,當我重新載入我的論壇,我猜,這事,因為我實現了更改的鏈接。

謝謝

kamilkurczak
07-03-11, 11:30
打招呼。
如果你有你的論壇,論壇的目錄,你應該編輯 vBET主要設置:

admincp - > vBET - >主
- 論壇目錄 /論壇
鏈路類型為 VBSEO_URI
- 翻譯鏈接類型 SEO

其次,你需要做一個 htaccess文件像這樣:

RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]

如果仍然不好 - 請貼在這裡您htaccess文件的內容,使VBET在您的網站 - 我會檢查一下。

謝謝

norku
07-03-11, 11:45
非常感謝。我會盡力的,將讓你知道是怎麼回事了。

norku
07-03-11, 15:03
不幸的是沒有工作。我不能離開 vbet積極因為 404。這是內容的主題我引用:

/論壇(或其他文件夾的名稱)VB4安裝

放CMS根,您的論壇之外的文件夾,無 /內容 /重定向和您的論壇留在自己的子文件夾一如既往。

第1步
複製論壇 / index.php文件到根目錄。

確保 index.php文件設置為需要的內容。
代碼:

要求('content.php');

並認為論壇需要代碼位註釋掉。

您還需要取消對相對路徑指令,並確保它準確反映您的論壇的安裝位置:

代碼:

定義(VB_RELATIVE_PATH,“論壇 /');



下列操作之一:
步驟 2a:
重命名論壇 /的index.php到論壇 / index_old.php或其他名稱,以保持它周圍,但沒有命名的索引。

重命名論壇 / forum.php到論壇 / index.php的

或:
步驟 2b:
編輯論壇 /的index.php
將其設置為:
代碼:

/ /定義(VB_RELATIVE_PATH,'');
要求(“forum.php');

第3步:
在vBoptions => forumhome頁面選擇
設置第一個條目
代碼:

指數的

而在vboptions - > CMS的選擇,
確保“站點標籤 URL”腳本
代碼:

content.php



此外,
CMS網址
“可選的網址為您的CMS。”
在vboptions - > CMS選項面板應為空!。


第4步:

在vbseocp
網址 Reweite設置 - > CMS =>高級設置選項卡
設置 CMS首頁


到FULL。com根與斜線,又名
代碼:

http://www.yourdomain.com/

不要搞砸了您的www在這裡。他們使用或不使用它們的htaccess文件和vboptions為 BBURL是完全建立起來,否則你會最終在一個循環。


第5步:

在vbseocp,徐功能 - >首頁設置

集力論壇的網頁,是根
並輸入
代碼:

論壇 /的index.php
論壇 /的index.php?

在別名框中。

保存設置。


第6步:

htaccess文件創建在站點的根以下。請注意,論壇 /路徑中的一些規則。您可能需要調整您的文件夾名稱。

代碼:

#註釋以下行(添加“#”開頭)
#禁用mod_rewrite的功能。
#請注意:您還需要禁用的破解
#在百度推廣的控制面板停止URL重寫。
RewriteEngine敘述在

#有些服務器要求RewriteBase指令要
#啟用(去掉“#”開頭,以激活)
#請注意:當啟用時,必須包括路徑
#到根啟用 BB夾(即RewriteBase /論壇 /)
#RewriteBase /

#RewriteCond%{HTTP_HOST}!^ WWW \\。您的網域\\。com
#RewriteRule(.*)http://www.yourdomain.com/forums/ $ 1 [L,R = 301]

RewriteRule ^論壇 /((urllist | sitemap_).* \\(XML | TXT)(\\。GZ)?)$論壇 / vbseo_sitemap / vbseo_getsitemap.php?地圖 = $ 1 [L]

RewriteCond%{REQUEST_URI}!(admincp / | modcp / |的cron | vbseo_sitemap)
RewriteRule ^論壇 /((存檔 /)?(.* \\。PHP (/.*)?))$論壇 / vbseo.php [L,QSA]

RewriteCond%{REQUEST_FILENAME}!- F
RewriteCond%{REQUEST_FILENAME}!- D
RewriteCond%{REQUEST_FILENAME}!/(admincp | modcp |的ClientScript | cpstyles |影像)/
RewriteRule ^(.+)$論壇 / vbseo.php [L,QSA]

第7步:
只需要在RC2發布前的低。 (將固定在明年建設作為本書寫)。

打開百度推廣 /包括/ functions_vbseo_vb.php文件:
發現:
代碼:

$ headinclude = preg_replace函數('#<base href.*?>#是','',$ headinclude);

替換為:
代碼:

如果(定義(“VBSEO_PREPROCESSED'))
$ headinclude = preg_replace函數('#<base href[^> ]*?>( \\ S *?)?#是','',$ headinclude);

完成。




所以,在我的論壇下面的話:

/ index.php的解析為:/
/論壇 / forum.php解析/論壇 /
/論壇 / index.php的解析/論壇 /

任何我需要做的步驟,除了顯示在vbet安裝指南?

kamilkurczak
07-03-11, 18:28
你可以試試這個。htaccess文件?


# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]

norku
07-03-11, 18:50
在我繼續前進,試圖在這裡是我的當前 htaccess文件(顯然沒有 vbet規則):


edited out - awaiting response

norku
07-03-11, 20:56
任何消息?你得到的PM我派了幾個小時前的方式?

kamilkurczak
07-03-11, 22:49
是的,我還在思考解決方案。
我們可以進行測試?會發生什麼事時,你設置 admincp - >主
- 鏈接類型 REQUEST_URI
- 翻譯鏈接類型添加語言參數的URL(即“地址?語言 = EN”)
工程或沒有?

norku
07-03-11, 23:01
同樣的結果。隨著更新htaccess的到位,我收到了404當我加載了座談會。如果我把你的線路出所有的罰款。

norku
08-03-11, 16:39
正如我所說,我的VB套件安裝在/論壇。如果我用你的建議 htaccess文件,然後 vbenterprisetranslator_seo.php將產生一個 404,因為它不是位於 / vbenterprisetranslator_seo.php而是在/論壇 / vbenterprisetranslator_seo.php聲音是否正確?

考慮到這一點會以下是正確的一個 VB套件安裝在/論壇?


RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ forum/vbenterprisetranslator_seo.php [L,QSA]

我啟用 vbet一分鐘,並試圖與我的htaccess的除了上述線路和404已經消失和論壇加載所選語言沒關係。百度推廣的網址是追加/?語言 = DE

所以,我在正確的軌道在這裡我想。 htaccess的其實是正確的但在所有的細節?

編輯:它似乎是工作,但是當我設置 VBSEO_URI在Vbet主菜單中一切順利奶了。顯而易見的,為什麼後來又我一直在測試這個這麼多小時現在我不知道什麼是對的,什麼是錯的任何更多的....




所以,

請問我vbet htaccess的規則,一個論壇,該套件安裝在/論壇嗎?這些規則必須顧及的變化郵遞 4以上。我希望得到這個工作....

謝謝

kamilkurczak
08-03-11, 19:41
請發送給我PM你的FTP和admincp細節(和vbseoadmin),我會檢查你的服務器和vBET配置。

norku
09-03-11, 13:42
此線程消失了幾個小時前,當您的網站去了。現在該線程再次看到我看到我的最後答复是失踪。

我在任何情況下,要求退款。該支持的時間和支持程度是坦誠糟糕,我沒有時間去等待任何更半答案是沒有絲毫幫助。

你不回答問題或作出反應就是我給予條款症狀 /進一步的信息。相反,我應該只是給你管理員級別的訪問到我的論壇?對我來說這是一個風險,我不願意走。因此,如果你不願花時間和討論的東西,然後我在這裡沒有看到一個解決方案。

vBET
09-03-11, 15:46
此線程消失了幾個小時前,當您的網站去了。現在該線程再次看到我看到我的最後答复是失踪。

請在這裡看到:http://www.vbenterprisetranslator.com/forum/vbet-announcements/1518-accidental-backup-restore.html
我們有意外的備份恢復。我們的託管服務提供商,而不是讓我們回到我們的電子郵件客戶端恢復整個系統從 3月7日 - 他們說,那麼我們的電子郵件客戶端卸載(這就是為什麼你的線程消失在前)。當我們發現他們做了什麼,我們要求立即恢復系統可以從最新的備份。這就是為什麼你的線程再回來(而不是只有你),但消息昨天寫 /今天可以了(這樣的消息後寫備份的)。這就是為什麼你最後發表的文章已經一去不復返了。

我明白你為什麼能得到錯誤的印象,你不支持,但它只是錯在我們的託管服務提供商一邊,你的線程在這裡。我們願繼續支持盡快付款將返回給我們。此時您的貝寶付款,所以我們必須保持持有任何行動有關許可證。僅需 pyment回去卡米爾將開始支持你。我們 supprot是免費為我們的客戶和我們的用戶。在此omment您還不是我們的客戶(付款保留),你不能被用戶的付費版無牌。

另外請注意,您的問題,因為你提出自己的修改 - 它並不像你寫信給貝寶在一個錯誤的安裝說明。我們的安裝說明是百度推廣的結構。你不擁有它,因為你這樣做你自己的修改,很明顯,你必須修改安裝說明以適應更改。

你可以指望我們的免費支持這個論壇,或者如果你覺得這是更大的問題(因為你的修改),你不能做自己 - 那麼你也可以使用我們的付費安裝服務查看:http://www。 vbenterprisetranslator.com /安裝,service.php - 請注意,即使在這種情況下,它可以需要更長的時間,正常的安裝,因為你需要特殊的變化,因為它所做的修改。最有可能會在。htaccess規則的水平,但它也可以要求其他論壇的文件夾的配置,或稍加修改我們的SEO文件 - 不能說就是這樣 - 卡米爾是一個誰需要照顧您的案件。

norku
09-03-11, 16:07
我縮回貝寶爭議。等待3天,然後看到我的線程消失是很煩人的,但它聽起來像我偷步。我道歉

我有一個'百度推廣結構“。所不同的“開箱”百度推廣安裝說明完全在一個崗位,我剛才確實是我之所以發起的主題。

kamilkurczak
09-03-11, 18:05
OK我注意到,百度推廣有不同的規則,所以請試試這個。htaccess文件(與 vBET改變規則)


# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbenterprisetranslator_seo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbenterprisetranslator_seo.php [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]

norku
09-03-11, 18:24
嘗試它。感謝。

norku
09-03-11, 18:27
好了。沒有 404但頁面是空白的,當我點擊一個標誌(任何標誌)。你需要知道任何我vbet設置?

kamilkurczak
09-03-11, 18:40
確定您必須配置您的服務器,請檢查此職位:
http://www.vbenterprisetranslator.com/forum/vbet4-troubleshooting/413-faq.html#post1535

所以安裝 CURL在你的php和iconv

norku
09-03-11, 19:01
捲曲和iconv支持已經啟用。我得到一個 404現在當點擊一個標誌。




iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.5

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1



curl
cURL support enabled
cURL Information libcurl/7.21.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5



這是我的htaccess文件:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /


#RewriteCond %{HTTP_HOST} !^www\.xxxx\.com
RewriteCond %{HTTP_HOST} !(^www\.xxxx\.com$|^cdn\.xxxx\.com$)
RewriteRule (.*) http://www.xxxx/$1 [R=301,L]

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]

RewriteRule ^forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#vbet translator rules start
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbenterprisetranslator_seo.php [L,QSA]


#vbet translator rules end


RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(media|admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]

## Expires
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 3456000 seconds"
ExpiresByType image/jpeg "access plus 3456000 seconds"
ExpiresByType image/png "access plus 3456000 seconds"
ExpiresByType text/css "access plus 3456000 seconds"
ExpiresByType text/javascript "access plus 3456000 seconds"
ExpiresByType application/javascript "access plus 3456000 seconds"
ExpiresByType application/x-javascript "access plus 3456000 seconds"
</ifModule>

## Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>

#Remove index.php from xxxx/index.php
#rewrite engine on
RewriteCond %{THE_REQUEST} index\.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index\.php$ / [L,R=301]


kamilkurczak
09-03-11, 19:11
為什麼你有一個 vBET禁用?
也寫在這裡您admincp - > vBET - >主要設置

norku
09-03-11, 19:23
我只將其激活,當我實際測試,否則我的成員可能會開始點擊標誌和獲取空白屏幕。

vbet設置:

論壇語言:英語

論壇目錄:/論壇

論壇的主要領域:未設置

鏈接類型:VBSEO_URI

配置哪種類型的翻譯鏈接,您要創建的URL根據 SEO鏈接的共識(即“/ EN /地址')

kamilkurczak
09-03-11, 19:26
我只將其激活,當我實際測試,否則我的成員可能會開始點擊標誌和獲取空白屏幕。


所以你還是空白頁或404?
如果空白頁 - CURL和iconv,如果安裝 - 請嘗試在錯誤日誌文件中找到一些PHP錯誤

norku
09-03-11, 19:38
這裡的東西:

如果我進入
http://www.xxxx.com/de/ 讓我的論壇主頁在德國。該網址應打開我的CMS

kamilkurczak
09-03-11, 19:40
我可以看到..所以,問題是在。htaccess。我會 analize它。

試試這個:


# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /


#RewriteCond %{HTTP_HOST} !^www\.hj-research\.com
RewriteCond %{HTTP_HOST} !(^www.hj-research.com$|^cdn.hj-research.com$)
RewriteRule (.*) http://www.hj-research.com/$1 [R=301,L]

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]

RewriteRule ^forum/((urllist|sitemap_).*.(xml|txt)(.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#vbet translator rules start
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbenterprisetranslator_seo.php [L,QSA]


#vbet translator rules end


RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(media|admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]

## Expires
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 3456000 seconds"
ExpiresByType image/jpeg "access plus 3456000 seconds"
ExpiresByType image/png "access plus 3456000 seconds"
ExpiresByType text/css "access plus 3456000 seconds"
ExpiresByType text/javascript "access plus 3456000 seconds"
ExpiresByType application/javascript "access plus 3456000 seconds"
ExpiresByType application/x-javascript "access plus 3456000 seconds"
</ifModule>

## Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>

#Remove index.php from hj-research.com/index.php
#rewrite engine on
RewriteCond %{THE_REQUEST} index.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index.php$ / [L,R=301]

kamilkurczak
09-03-11, 21:03
請檢查這一個:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /


#RewriteCond %{HTTP_HOST} !^www\.hj-research\.com
RewriteCond %{HTTP_HOST} !(^www.hj-research.com$|^cdn.hj-research.com$)
RewriteRule (.*) http://www.hj-research.com/$1 [R=301,L]

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]

RewriteRule ^forum/((urllist|sitemap_).*.(xml|txt)(.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#vbet translator rules start
RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbenterprisetranslator_seo.php [L,QSA]


#vbet translator rules end


RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(media|admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]

## Expires
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 3456000 seconds"
ExpiresByType image/jpeg "access plus 3456000 seconds"
ExpiresByType image/png "access plus 3456000 seconds"
ExpiresByType text/css "access plus 3456000 seconds"
ExpiresByType text/javascript "access plus 3456000 seconds"
ExpiresByType application/javascript "access plus 3456000 seconds"
ExpiresByType application/x-javascript "access plus 3456000 seconds"
</ifModule>

## Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>

#Remove index.php from hj-research.com/index.php
#rewrite engine on
RewriteCond %{THE_REQUEST} index.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index.php$ / [L,R=301]

如果仍然無法正常工作 - 這條線,以取代這種形式:

RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

kamilkurczak
09-03-11, 22:26
有你有一個很好的htaccess來翻譯的主頁:


# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /


#RewriteCond %{HTTP_HOST} !^www\.hj-research\.com
RewriteCond %{HTTP_HOST} !(^www\.hj-research\.com$|^cdn\.hj-research\.com$)
RewriteRule (.*) http://www.hj-research.com/$1 [R=301,L]

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]

RewriteRule ^forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

#vbet translator rules start
#vbet outside site
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1&vbet_outside=true [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]

RewriteCond %{QUERY_STRING} !vbet_outside=true
RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]

RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbenterprisetranslator_seo.php [L,QSA]

#vbet translator rules end


RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(media|admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]

## Expires
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 3456000 seconds"
ExpiresByType image/jpeg "access plus 3456000 seconds"
ExpiresByType image/png "access plus 3456000 seconds"
ExpiresByType text/css "access plus 3456000 seconds"
ExpiresByType text/javascript "access plus 3456000 seconds"
ExpiresByType application/javascript "access plus 3456000 seconds"
ExpiresByType application/x-javascript "access plus 3456000 seconds"
</ifModule>

## Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>

#Remove index.php from hj-research.com/index.php
#rewrite engine on
RewriteCond %{THE_REQUEST} index\.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index\.php$ / [L,R=301]


norku
09-03-11, 23:03
非常感謝您的工作投入得到這個工作適合我。大加讚賞。我有一件事情是不工作雖然最佳,但我會打開一個新的線程的。

再次感謝:)

kamilkurczak
10-03-11, 10:05
因此,如果vBET確定工程 - 解決。現在我們需要解決的問題與錯誤的連結:)

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages supported by vBET Translator 4.10.1