I've moved a site from .aspx to my php server and now i'm trying to preserve the incoming links using rewrite rules in .htacess. I've tried this: Code: #THIS WILL BE DONE FOR EVERY SIMILAR PAGE ---> Redirect /du-represented-dmcs/denmark.aspx http://www.dudmc.com/dmcs-worldwide/dmc-partners/european/24-denmark-dmc #THIS IS TO CATCH EVERYTHING ELSE---> RewriteRule ^(.*)\.aspx$ http://www.dudmc.com/ Redirect /Info-Request-Forms/RFP.aspx http://www.dudmc.co.uk/du-service/request-for-proposal The problem is the second rule seems to overwrite the second and the 3rd. Without it the redirects work fine. I'm trying to get this done before google starts losing interest in the existing links.. Thanks
I'd try RewriteRule for those Redirect rules as well. You can then use a flag like L (e.g. [R=301,L]) to stop the rewrite process. See http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule