简体   繁体   中英

How to redirect https links to http?

Recently I've moved my blog from wordpress.com to my personal hosting. For some reason all of my links indexed on Google results and also the ones that I have listed on Reddit forums shows this error:

Your connection is not private Attackers might be trying to steal your information from rockiceland.com (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID

I believe the main reason for that is https in front of the links. I haven't purchased SSL certificate, it is something that Wordpress.com included and should have been gone after the migration of the blog (i think?).

If I try to access internal links with http , it opens as normal.

Have you an idea how could I fix it so all the https would redirect to http links?

If you're now working from your own host, using a mod_rewrite could help here.

This question has been brought up before and had an excellent discussion and answers that approach this type of http re-write on several different configs:

How do you redirect HTTPS to HTTP?

If still using WP as the blogs CMS there may be a plugin to simplify the process, I was able to find this one that seems quite promising: Mavis HTTPS to HTTP Redirection

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM