Http issues on https site

lolseo

Senior Member
Joined
Feb 8, 2013
Messages
893
Reaction score
43
I have started looking into one of my old affiliate sites.

its over 10 years old and built on wordpress.

It was registered and set live before https was mandatory. I implemented auto 301 redirects by setting https as my preferred domain in GSC years ago.

I still to this day get errors from gsc for both the http and https versions. Same with SEMrush

is there anything else I need to do perhaps hosting side/database side to stop the site existing as http at all?
 
You have to force 301-redirect from http to https on your site.
You can do so through .htaccess file or a plugin.
 
If you have access to your .htaccess file you can set a rule to always serve https. The rule looks like:

Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

and you will need a SSL Certificate to get it working. This is all outside gsc.
 
Try the 'Real Simple SSL' plugin. I had such a problem with one of my sites but it got resolved after installing the plugin.
 
LetsEncrypt is free SSL and should be available for any web server. then use the code @thedorf supplied above and those issues should cease.
 
Back
Top