Page is a not externally linkable
adder - 2:35 pm on Oct 24, 2012 (gmt 0)
Hi,
I'm trying to redirect old-style dynamic urls to a set of static urls using .htaccess
Wrote this code but it doesn't seem to be doing anything. Where's the mistake please?
RewriteEngine on
RewriteCond %{QUERY_STRING} ^pageid=325$
RewriteRule ^/site/index.cfm$ http://www.example.com/new-url.htm? [L,R=301]
Old url structure is:
http://www.example.com/site/index.cfm?pageid=325
and I want it to be:
http://www.example.com/new-url.htm