Last active
August 29, 2015 14:06
-
-
Save walkergv/6ec2dec6be8439f4aa3b to your computer and use it in GitHub Desktop.
Redirect to www version of the site.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## - BEGIN - remove www version of site | |
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] | |
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301] | |
########## - END - www.version of site |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment