Hey,
I'm having difficulty getting my htaccess working. I havnt dealt with apache for such a long time a forgot how much I sucked at it.
RewriteEngine On
RewriteRule ^old.php$ ^new.php [R,NC,L]
This is my first step which I cant seem to get working, i've tried several variations : / I'm not sure if its my hosting or what (I'm with hostgator)
Obviously the above should read new.php when user types mywebsite.com/old.php but url should stay the same which would be great. But that doesn't work for me : /
So this is embarrasing, very short code and I'm getting nowhere but what am I doing wrong?
I ultimatly want to make any requests in /banners/example-user-type for the request to be resent to /banners/createpage.php but url should stay the same as the user typed the first time.
Any help goes without saying, you'll be a legend. More stuck than ive been in a long while with this