#註釋以下行(添加“#”開頭)
#禁用mod_rewrite的功能。
#請注意:您還需要禁用的破解
#在百度推廣的控制面板停止URL重寫。
RewriteEngine敘述在
RewriteRule噸([0-9] +)/ http://www.SITE.com/forums/showthread.php?t = $ 1 [L,R = 301]
RewriteRule噸([0-9 ]+)-([ 0-9] +)/ http://www.www.SITE.com/forums/showthread.php?t = $ 1&頁 = $ 2 [L,R = 301 ]
RewriteRule F([0-9] +)/ http://www.www.SITE.com/forums/forumdisplay.php?f = $ 1 [L,R = 301]
#有些服務器要求RewriteBase指令要
#啟用(去掉“#”開頭,以激活)
#請注意:當啟用時,必須包括路徑
#到根啟用 BB夾(即RewriteBase /論壇 /)
#RewriteBase /
RewriteCond%{HTTP_HOST}!^ WWW \\。網站 \\。com
RewriteRule(.*)http://www.www.SITE.com/forums/ $ 1 [L,R = 301]
#規則的搜索引擎優化與百度推廣鏈接翻譯(必須包括之前的所有規則,vbseo.php)
#RewriteRule vbenterprisetranslator_seo.php?vbet_lang = $ 1&重定向= / [L,QSA]
#RewriteRule vbenterprisetranslator_seo.php?vbet_lang = $ 1&重定向= / $ 2 [L,QSA]
#RewriteCond%{REQUEST_URI}!(admincp / | modcp / | vbseo_sitemap / | CRON)
#RewriteRule ^((存檔 /)?(.* \\。PHP (/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
#RewriteCond%{REQUEST_FILENAME}!- F
#RewriteCond%{REQUEST_FILENAME}!- D
#RewriteCond%{REQUEST_FILENAME}!^(admincp | modcp |的ClientScript | cpstyles |影像)/
#RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
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]