Created
March 21, 2017 17:35
-
-
Save antoniocampos/929074a32cf18b9ba9ee70ff1a4138a3 to your computer and use it in GitHub Desktop.
.htaccess force www.
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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^antoniocampos.net [NC] | |
RewriteRule ^(.*)$ http://www.antoniocampos.net/$1 [L,R=301,NC] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment