PHP website revision, URL redirect to the correct URL problem
Recently revised a website, but the URL is a lot of improvements, the previous URL opened is 404 error, so you want to redirect the wrong URL to the correct, for example, the former/sell_list.php now become/sell before the/sell_list.php? Fid=1 is now/sell/list?fid=1. I think the use of 404 to turn, the wrong page will go to the 404 page, and then use 404 page to get the error page address and then turn to the correct address, but encountered a problem, PHP did not get the wrong page, the middle and want to use URL redirection, but try to find that this method does not pass, URL redirection is to change the URL into a form, it is real. Do not know what other ways we have no, here for advice!!!
------Solution--------------------
URL redirection How could it not? The matching address is redirected to your current address. Where the hell did you find out?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.