我正在尋找重新定向一些網址,其中包含百分比(%
)符號以清除網址。下面的例子...如何使用百分比(%)符號重定向URL?
舊網址:
http://www.testsite.co.uk/ecommerce/cabinets/white_gloss_cabinets/led_illuminated_white_cabinets%20/9101900.aspx
新網址:
http://www.testsite.co.uk/products/cabinets/austin/
有誰知道.htaccess文件中格式化此重定向的正確方法是什麼?我正在使用WordPress。
由於
也許這可以幫助你:http://webmasters.stackexchange.com/questions/77257/how-to-redirect-urls-with-percent-encoded-characters-and-query-strings –