I have a web site with a few hundred pages. To help with the organisation of the pages, they need to be renamed. Now web pages called
blah_blahdeblah.php
Will be renamed to
blah1_blahdeblah.php
blah2_blahdeblah.php
blah3_blahdeblah.php
For the moment, so that the search engines can still find pages, there there needs to be redirection from all the old names to the new names.
This is easy to do, but a bit time consuming.
I was thinking instead that replacing the 404 html with PHP I can get the requested URL and try removing the first four chars and replacing it with blah1, blah2, or blah3. If any exist, then all it needs to do is set the name of the new file in a redirect page. Does this sound reasonable?