-
-
Save tanarurkerem/9504147 to your computer and use it in GitHub Desktop.
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
| diff --git a/.htaccess b/.htaccess | |
| index 7ccb6a2..f6aaa6e 100644 | |
| --- a/.htaccess | |
| +++ b/.htaccess | |
| @@ -96,8 +96,8 @@ DirectoryIndex index.php index.html index.htm | |
| # To redirect all users to access the site WITHOUT the 'www.' prefix, | |
| # (http://www.example.com/... will be redirected to http://example.com/...) | |
| # uncomment the following: | |
| - # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | |
| - # RewriteRule ^ http%{ENV:protossl}://%1%{REQUEST_URI} [L,R=301] | |
| + RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | |
| + RewriteRule ^ http%{ENV:protossl}://%1%{REQUEST_URI} [L,R=301] | |
| # Modify the RewriteBase if you are using Drupal in a subdirectory or in a | |
| # VirtualDocumentRoot and the rewrite rules are not working properly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment