Skip to content

Instantly share code, notes, and snippets.

@chanakaDe
Created February 17, 2020 07:33
Show Gist options
  • Save chanakaDe/6b99c1c895c6b0936a0e9a0df857f9ff to your computer and use it in GitHub Desktop.
Save chanakaDe/6b99c1c895c6b0936a0e9a0df857f9ff to your computer and use it in GitHub Desktop.
This is the htaccess for the main domain (www.navigator360.com)
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment