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

賺錢與我們聯繫!

如果您想要開始賺錢與貝特聯接 聯盟計畫。
結果 133

主題: Showthread.php?P = x不重寫

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

    Default Showthread.php?P = x不重寫

    Showthread.php?p = X環節目前正在改寫所有由百度推廣(showthread.php?噸 = X鏈接罰款)。

    下面是我的htaccess的

    Code:
    # 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\.pentaxforums\.com
    RewriteRule (.*) http://www.pentaxforums.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|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)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|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)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$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 ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    Options All -Indexes
    Options +FollowSymLinks
    #RewriteCond%{REQUEST_URI}!(admincp / | modcp / | vbseo_sitemap / | CRON)
    #RewriteRule ^((存檔 /)?(.* \\。PHP (/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

    被註釋掉由百度推廣支持團隊造成錯誤在301的用戶在論壇,只有有權查看自己的線程。當我把他們回來,在showthread?p環節的工作了,但當時的錯誤復出。
    最後編輯者 moman; 06-10-1007:49.

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

    Default

    編輯:

    我發現這個問題。看來,百度推廣支持打破了一件事情,而另一個固定。

    我把這些規則回來,和一切工作:
    RewriteCond%{REQUEST_URI}!(admincp / | modcp / | vbseo_sitemap / | CRON)
    RewriteRule ^((存檔 /)?(.* \\。PHP (/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

    這兩種,其中支持團隊最初註釋掉,引起其他的錯誤:
    #RewriteCond%{REQUEST_URI}!(admincp / | modcp / |的cron | vbseo_sitemap)
    #RewriteRule ^((存檔 /)?(.* \\。PHP (/.*)?))$ vbseo.php [L,QSA]

  3. #3
    vBulletin企業翻譯(vBET)員工
    註冊日期
    2010年5月
    帖子
    1,000

    Default

    據我所知,它是解決了嗎?感謝確認。

標籤這個主題

發帖權限

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