I know this should be easy but it is beating me. After a site move I want to be able to remove the path to a file along with the extension (if any) and query string (if any) and index.php (if any) to leave just the file name. EG:
http://ift.tt/1J8KDdv 301 to >> http://ift.tt/1HR6iIt http://ift.tt/1J8KDdz 301 to >> http://ift.tt/1HR6iIv http://ift.tt/1J8KC9v 301 to >> http://ift.tt/1HR6k2X http://ift.tt/1HR6iIA 301 to >> http://ift.tt/1J8KDdH
There are many different paths in the original site (with and without www), but if the file ends in .html (with the possibility of a query which has to go as well) I just want it redirecting 301 to the domain/filename
But... to make matters more complex, they can't redirect
This is because the category is part of the new system (it's wordpress).
Thanks for any help with this!