Question

I am using Cloudflare (service that gives free HTTPS for your website) to have https on my Wordpress website but when I change the site URL and Wordpress URL to https://, I get a "redirected you too many times" error.

I also tried to add define('FORCE_SSL_ADMIN', true); in the wp-config.php file and guess what? The same thing happens again. I'm not sure what I am doing wrong but your help would be greatly appreciated...

I tried this solution but it doesn't work but returns a 500 internal server error instead.

Était-ce utile?

La solution

I have recently solved my issue, I went on wordpress support, found my issue and how to fix it. I installed the SSL Insecure Content Fixer plugin and chose in the plugin settings for SSL Detection, the setting that was recommended. Then, I went to the settings and set my Wordpress and site URL to https://. This all together fixes the infinite redirect loop.

Autres conseils

What you can do is try to go to settings --> General and and change your Wordpress address site to a non-www URL if it has a www in it. Also, do not include a slash at the end.

One more thing, if you have any plugins activated, disable all of them and enable them one by one and see if any of them are causing an error.

Licencié sous: CC-BY-SA avec attribution
Non affilié à wordpress.stackexchange
scroll top