Create and enable .htaccess
Once you have done this you will need to add the following code:
1 2 3 4 5 6 7 8 9 |
#force non www RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ http: // %1%{REQUEST_URI} [R=301,L] #force https RewriteEngine on RewriteCond %{HTTPS} !on RewriteRule (.*) https: // %{HTTP_HOST}%{REQUEST_URI} |