Created
April 27, 2017 10:13
-
-
Save cikal/7eb9b5640dd588341d6fc5cf6221ee30 to your computer and use it in GitHub Desktop.
Rewrite (example.com) to (www.example.com)
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC] | |
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tinggal sesuaikan dengan nama domain anda
Ex: (example.com) to (situsku.com)