Forum Moderators: phranque
I'm trying the line below and it doesn't do anything. It still loads up the domainname.com/news.php?n_id=15$ instead of the [domainname.com...]
Is it even possible to use the RewriteRule as so?
Appreciate any help...
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^news.php?n_id=15$ [domainname.com...] [R=301,NC]
Furthermore, if you wish to remove the requested query string from the new URL, you must end your substitution URL with the "?" token.
See the Apache mod_rewrite documentation for details on both points.
Jim