zaggs — 2012-09-12T15:20:16-04:00 — #1
I have the following simple rewriterule which isn't working. Anyone can point me in the right direction?
RewriteRule ^news$ news.php
dklynn — 2012-09-12T22:22:08-04:00 — #2
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).
system — 2014-10-07T22:54:44-04:00 — #3
This topic is now closed. New replies are no longer allowed.