I am trying to rewrite one of my dynamic urls to static url, but also I want to redirect the old trafic and page rank to the new one I have this code on my .htaccess : RewriteEngine On RewriteBase / Options +FollowSymLinks RewriteRule ^area-rugs$ results.php?category=5 RewriteCond %{QUERY_STRING} ^category=5$ RewriteRule ^results\.php$ http://www.mysite.com/area-rugs? [R=301,L] I get a redirect loop on my browser, any suggestions Thanks
Could you more specific, what do you expect when someone is accessing http://www.mysite.com/results.php?category=5 ?
Try my suggestion from your other post: http://forums.digitalpoint.com/showthread.php?t=1361088 that should work.
thanks for the response. Still not working. What I am trying to do is that when going to : http://www.mysite.com/results.php?category=5 you be redirected to : http://www.mysite.com/area-rugs but also that http://www.mysite.com/results.php?category=5 be rename to area-rugs internally, in the server. So that when you request area-rugs as the url you get the information from results.php?category=5. Thanks Hope this makes more sense.