Created
October 10, 2018 07:44
-
-
Save AndryWJ/1f1c8dfff71f1b763de4a2a3f44b7a66 to your computer and use it in GitHub Desktop.
htaccess: Редирект с www на без www (Работает для opencart)
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
RewriteCond %{HTTP_HOST} ^www\.(.*)$ | |
RewriteRule ^(.*)$ http://%1/$1 [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment