重要:此頁面會使用Cookie (cookies). 使用本網站不關閉瀏覽器中的cookie,即表示您同意使用它。
現在購買! 特點 下載

賺錢與我們聯繫!

如果您想要開始賺錢與貝特聯接 聯盟計畫。
13 123 最後Last
結果 11021

主題: Photoplog問題

  1. #1
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default Photoplog問題

    我跟著集成指南(添加到htaccess文件),為我photoplog安裝,但我不能得到翻譯工作。

    畫廊是在/畫廊,而論壇是在/論壇,所以它的目錄以外的論壇。還有什麼我需要做的就是它的工作?

  2. #2
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    Photoplog 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]
    根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]
    
    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]

  3. #3
    米哈爾 Podbielski(vBET職員) vBET's Avatar
    註冊日期
    2009年10月
    帖子
    3,037

    Default

    你沒有說明確切休耕。指示說,在規則不能被任何其他規則結尾的[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]
    這一個是根據指示,但由於百度推廣之前,我認為你應該先用第一個命題。

  4. #4
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    畫廊 / PL /仍然404ing,而/畫廊 /?語言 = PL不正確重定向

  5. #5
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    任何想法?我很想得到這個工作。與所有其他vBET錯誤解決,得到這個工作,也只是完美!

    總的來說:

    該論壇是在。/論壇
    該 photoplog安裝在/畫廊

    我的。htaccess文件張貼在第一崗位,你的建議沒有工作

  6. #6
    米哈爾 Podbielski(vBET職員) vBET's Avatar
    註冊日期
    2009年10月
    帖子
    3,037

    Default

    我只是檢查它 - 會回答您的到來

  7. #7
    米哈爾 Podbielski(vBET職員) vBET's Avatar
    註冊日期
    2009年10月
    帖子
    3,037

    Default

    Quote 作者: moman View Post
    畫廊 / PL /仍然404ing,而/畫廊 /?語言 = PL不正確重定向
    你是如何得到畫廊 / PL /地址?它是產生 vBET?它應該是/ PL /畫廊
    請給我確切的網址是下一個 vBET標誌。

  8. #8
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    哎呀,我的意思/ PL /畫廊 /。

    我想這可能是由於一些網頁重寫規則。仔細查找在根htaccess文件,看看它可能衝突與我們想要的。

    這裡的網址,應該工作: PL /畫廊 / - 賓得新聞與流言 - PentaxForums.com

  9. #9
    米哈爾 Podbielski(vBET職員) vBET's Avatar
    註冊日期
    2009年10月
    帖子
    3,037

    Default

    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]

  10. #10
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    我現在做的修改。這裡是老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]

13 123 最後Last

標籤這個主題

發帖權限

  • 可能不會 發表新主題
  • 可能不會 發表回复
  • 可能不會 上傳附件
  • 可能不會 編輯您的文章
  •