我有这个网址:
http://www.example.com/prospective/deginfo.php?classname=PE&diploma_description=BSc+in+Mathematical+Sciences
我需要重定向到这个 URL:
http://www.example.ie/prospective/deginfo.php?classname=PEC&diploma_description=BSc+in+Mathematical+Sciences+with+French+%27Bachelor+Honours+Degree%27
我想我可以用 aRedirectMatch
来“捕捉”Bsc
从那里到那里的所有东西,让它重定向到我想要的 URL,但它不起作用:
RedirectMatch ^/.*BSc\+in\+Physical\+Education http://www.example.ie/prospective/deginfo.php?classname=PEC°ree_description=BSc+in+Mathematical+Sciences+with+French+%27Bachelor+Honours+Degree%27
谁能告诉我我做错了什么以及如何纠正?