I have a php program that uses a Redirect 301 in the .htaccess.
Currently it’s setup like this and has worked fine on my cpanel servers:
Redirect 301 /contact_page.html /contact_us.php
I’ve read up and found that I need to do this to get it to work…(and it does work fine this way)
Redirect 301 contact_page.html http://url.com/contact_us.php
BUT…
I’m using this .htaccess as a core file that I don’t want to change everytime I install it on a new server. So is there a way to maintain the original relative Redirect paths so it works with any new site? It works perfectly fine on my cpanel servers so it seems with a little configuring in apache, it would be able to work. Any ideas?