Forum Moderators: phranque
i always get either of two errors.
1.) internal server problem
2.) page not found
all i do is
1.) i make a .htaccess file in the folder where i want redirection (here: [localhost...] )
2.) put the required code in file. for the simplest example. i typed
RewriteEngine on
RewriteRule ^old\.html$ new.html
these two lines. i have new.html file in the .htaccess's folder. but when i type old.html in url. browser excuses to reward me success...
please guide me to get done with it..
thanks frns
[webmasterworld.com...]
End every rule with [L] to avoid problems.
Make sure you escape literal periods in the pattern on the left.
If you want a redirect here, you also add the full domain name to the target URL, and [R=301,L] to the end.