twitter
    Find out what I'm doing, Follow Me :)

Wednesday, July 11, 2012

what is the code to resolve canonical issue/ www issue?

 This is the code to resolve canonical/ non www issue.

Options +FollowSymlinks

RewriteEngine on

rewritecond %{http_host} ^abc.com[nc]

rewriterule ^(.*)$ http://www.abc.com/$1 [r=301,nc]

No comments:

Post a Comment