Monday, February 21, 2011

HTACCESS: RedirectURL with www. Extecsion

htaccess redirect with www domain name (if we enter url without www)
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/ [R=301,L]

No comments: