0
我想用一個查詢字符串來重定向和有沒有運氣...Apache的重定向幫助
我試圖重定向
http://www.mysite.com/search/somevalue.html
到
http://www.mysite.com/search-somevalue/1.html
somevaluebeing查詢字符串,所以無論什麼值將重定向到新的頁面...任何幫助將不勝感激...
我想用一個查詢字符串來重定向和有沒有運氣...Apache的重定向幫助
我試圖重定向
http://www.mysite.com/search/somevalue.html
到
http://www.mysite.com/search-somevalue/1.html
somevaluebeing查詢字符串,所以無論什麼值將重定向到新的頁面...任何幫助將不勝感激...
我發現了一個所以我會回答我的問題,尋找一個類似的答案的人...
RedirectMatch 301 /search/(.*).html /search-$1/1.html