Posted by pmarreddy on October 21, 2009 at 8:48pm
I am getting a strange problem with 301 redirect it the code is working for with www in the link and not working for with out www
RewriteBase /
RewriteRule ^api$ http://example.com/topic/api [R=301,L]
if i type http://www.example.com/api it works but if i do http://example.com/api it doesnt work \
Adv thanks
prasanth
http://learna2z.com
Comments
check the dns
Check your dns settings maybe one a record (with www) is pointing to A and the other to B