Forum Moderators: coopster
I need to redirect requests for around 2500 pages. I'm unable to match up all the old pages to the new ones (different database provider) so I'm thinking the best approach will be to direct requests into the site's search engine.
My plan is to re-build all old pages with a php redirect into the search engine with the page name as the search query then give out a 404 response code for that page. Is the 404 response the most appropriate for this situation? I don't want the search engines to "think" that the site search is the new page.
Has anyone else done anything similar? Any advice or ideas would be appreciated.
I think a custom 404 that goes to the search would work but make absolutely sure you are sending proper the proper 404 status and not a 200 or anything else.
I seem to be missing something though, have you actually changed all of the page names? If you 404 2500 pages it is really going to suck until the new pages get picked up again.