https www not redirecting to https non www

I don’t understand why the SSLs created by the plugin don’t include www as well as non www. It seems to be causing some big issues. If someone types in the http://www.divinebodybyemma.com it redirects as well as there is no https but if it’s auto added by say facebook it comes up with a warning that it’s not secure or that hsts is enabled and it can’t. I turned it off still same error and I opened in private window to avoid caching throwing a false page.

BTW the www wasn’t redirecting at all until I added code to Htaccess.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.divinebodybyemma.com [NC]RewriteRule ^(.*)$ http://divinebodybyemma.com/$1 [L,R=301]

I had to replace the rule that was in there originally because it wasn’t working at all.

SimpleSSL was a pain but at least their SSLs have the www included.

  • This topic was modified 1 hour, 51 minutes ago by rogueopp.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer