我跟著集成指南(添加到htaccess文件),為我photoplog安裝,但我不能得到翻譯工作。
畫廊是在/畫廊,而論壇是在/論壇,所以它的目錄以外的論壇。還有什麼我需要做的就是它的工作?
我跟著集成指南(添加到htaccess文件),為我photoplog安裝,但我不能得到翻譯工作。
畫廊是在/畫廊,而論壇是在/論壇,所以它的目錄以外的論壇。還有什麼我需要做的就是它的工作?
Photoplog htaccess文件:
根htaccess文件:Code:RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com RewriteRule (.*) http://www.pentaxforums.com/gallery/$1 [L,R=301] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /forums/vbseo.php?vbseourl=$1&vbseorelpath=../gallery/&%{QUERY_STRING} [L] RewriteCond %{QUERY_STRING} !vbet_outside=true RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
Code:Options All -Indexes Options +FollowSymLinks ErrorDocument 404 http://www.pentaxforums.com/404.php RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com RewriteRule (.*) http://www.pentaxforums.com/$1 [R=301,L] RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{Script_FILENAME} !-f RewriteRule ^(.*)$ index.php?a=$1 [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)/$ 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]
你沒有說明確切休耕。指示說,在規則不能被任何其他規則結尾的[L],在這種情況下[L]已被刪除。你有它的規則為百度推廣,讓 vBET規則從未發生(L最後手段)。
請試試這個:
這不正是應該如何按說明書進行。並且它不測試(只有你可以測試它) - 所以請複製之前的變化。如果它不工作,請嘗試:Code:RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com RewriteRule (.*) http://www.pentaxforums.com/gallery/$1 [L,R=301] RewriteCond %{QUERY_STRING} !vbet_outside=true RewriteRule ^(.*)$ $1?vbet_outside=true [QSA] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /forums/vbseo.php?vbseourl=$1&vbseorelpath=../gallery/&%{QUERY_STRING} [L]
這一個是根據指示,但由於百度推廣之前,我認為你應該先用第一個命題。Code:RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com RewriteRule (.*) http://www.pentaxforums.com/gallery/$1 [L,R=301] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /forums/vbseo.php?vbseourl=$1&vbseorelpath=../gallery/&%{QUERY_STRING} RewriteCond %{QUERY_STRING} !vbet_outside=true RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
畫廊 / PL /仍然404ing,而/畫廊 /?語言 = PL不正確重定向
任何想法?我很想得到這個工作。與所有其他vBET錯誤解決,得到這個工作,也只是完美!
總的來說:
該論壇是在。/論壇
該 photoplog安裝在/畫廊
我的。htaccess文件張貼在第一崗位,你的建議沒有工作
哎呀,我的意思/ PL /畫廊 /。
我想這可能是由於一些網頁重寫規則。仔細查找在根htaccess文件,看看它可能衝突與我們想要的。
這裡的網址,應該工作: PL /畫廊 / - 賓得新聞與流言 - PentaxForums.com
Perhups你的權利。請為您的這個主要的。htaccess
Code:Options All -Indexes Options +FollowSymLinks ErrorDocument 404 http://www.pentaxforums.com/404.php RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com RewriteRule (.*) http://www.pentaxforums.com/$1 [R=301,L] 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 %{SCRIPT_FILENAME} !-d RewriteCond %{Script_FILENAME} !-f RewriteRule ^(.*)$ index.php?a=$1 [QSA]
我現在做的修改。這裡是老htaccess文件
Code:Options All -Indexes Options +FollowSymLinks ErrorDocument 404 http://www.pentaxforums.com/404.php RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com RewriteRule (.*) http://www.pentaxforums.com/$1 [R=301,L] RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{Script_FILENAME} !-f RewriteRule ^(.*)$ index.php?a=$1 [QSA]Code:RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com RewriteRule (.*) http://www.pentaxforums.com/gallery/$1 [L,R=301] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /forums/vbseo.php?vbseourl=$1&vbseorelpath=../gallery/&%{QUERY_STRING} [L] RewriteCond %{QUERY_STRING} !vbet_outside=true RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]