0
我已經嘗試了我找到的每個建議,但仍無法獲得部分匹配的網址以重定向到其他網站。我有一些流氓軟件正在將字符串添加到我的域的末尾,例如'/ hyperion-expert-in-san-angelo /',以便獲取服務器錯誤日誌反向鏈接,並且我無法阻止它,並且它佔用了很多的帶寬。htaccess將部分匹配網址重定向到另一主機
我也可以把每個實例確定例如
Redirect 301 /hyperion-consultant-in-new-haven/ {new url}
Redirect 301 /lawson-developer-in-new-bedford/ {new url}
Redirect 301 /lawson-developer-in-new-orleans/ {new url}
Redirect 301 /oracle-developer-in-el-monte/ {new url}
Redirect 301 /hyperion-developer-in-san-angelo/ {new url}
Redirect 301 /lawson-expert-in-thousand-oaks/ {new url}
Redirect 301 /lawson-expert-in-flower-mound/ {new url}
Redirect 301 /hyperion-expert-in-san-diego/ {new url}
Redirect 301 /hyperion-developer-in-san-diego/ {new url}
Redirect 301 /oracle-expert-in-ellicott-city/ {new url}
,但他們不斷傳來。我想用hyperion,lawson等將任何url重定向到另一個站點。這不起作用:
RewriteRule ^hyperion(/|$) {new url} [R=301,L,QSA,NC]
這很有效,非常感謝! – tlewis 2014-09-06 14:34:07