Last active
February 2, 2022 23:28
-
-
Save carlaizumibamford/f147e5d0fbec80e3a0b2a765979e66d5 to your computer and use it in GitHub Desktop.
Optimising URL w/o 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} ^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