Created
September 17, 2015 02:02
-
-
Save ppezier/1594d4b003a14da54e0a to your computer and use it in GitHub Desktop.
Redirection 301 Apache d'une URL avec www vers la même URL (en https) sans les 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
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
RewriteRule ^(.*)$ https://%1/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment