Last active
May 27, 2016 12:25
-
-
Save carlaizumibamford/4274818d157a7a208e5e320e2f9cf8e7 to your computer and use it in GitHub Desktop.
Optimizing URL with www.
This file contains 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
Options +FollowSymLinks | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^www.sample\.com | |
RewriteRule ^(.*)$ http://sample.com/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment