我們在Google搜索結果中包含一些帶有SID的網址,我們希望301將網址重定向到沒有SID的網頁。所以我們需要一個URL重寫來改變這個URL從URL中刪除SID並使用.htaccess重定向301
http://www.in-due.de/hochzeitsshop/catalogsearch/result/index/?SID=8df077eea401bda0da7e9a980efe20cf&cat=148&dir=asc&limit=9&order=relevance&p=8&q=gold
到這個網址:
http://www.in-due.de/hochzeitsshop/catalogsearch/result/index/?cat=148&dir=asc&limit=9&order=relevance&p=8&q=gold
基本不除去這部分:
SID=8df077eea401bda0da7e9a980efe20cf&
有人可以幫忙嗎?
+1爲robots.txt – Tim 2011-05-25 20:03:22