I have the following simple rewriterule which isn't working. Anyone can point me in the right direction?
RewriteRule ^news$ news.php
That code is okay provided you are on an Apache 2.x server and there is no other conflicting code.
Be sure to test, though, by adding flags to your code - I recommend [R=301,L] where the R=301 will tell the server to display the redirection and L tells Apache to go do it. If it works, then you can remove the R=301 (and the comma separator).
This topic is now closed. New replies are no longer allowed.