Skip to content

Instantly share code, notes, and snippets.

@reficedev
Created July 13, 2017 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reficedev/b4c264f4fb2a527a0cf8d194c5228dda to your computer and use it in GitHub Desktop.
Save reficedev/b4c264f4fb2a527a0cf8d194c5228dda to your computer and use it in GitHub Desktop.
RewriteCond %{HTTP_HOST} !^www\.ice-dev\.com$ [NC]
RewriteRule ^(.*)$ https://www.ice-dev.com/$1 [R=301,L]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.ice-dev.com/$1 [R=301,L]
# le reste de votre fichier htaccess ci-dessous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment