Force HTTPS put my website offline

I'm trying to use SSL through Cloudflare and I got things set up on their side, but when I went to enable force HTTPS, I can no longer access nor see my site.

http://rileysmithdesigns.com

Where would I go into the files to change this?

  • Adam Czajczyk

    Hello Riley!

    As you're using SSL by CloudFlare which is in fact an external SSL you should not force SSL on your server's side at all. This will cause indefinite redirect loop (and is indeed causing) like this:

    http request -> CloudFlare -> (http) your server -> (https) CloudFlare -> (http) your server -> (https) CloudFlare.... and so on.

    I believe there should be an option on CloudFlare side that would allow you to force connection over SSL.

    As for fixing it without deleting plugin. It would be great if you could confirm that it's Domain Mapping plugin causing this. Just like my colleague @Predrag Dubajic suggested, it would be best to temporarily disable the plugin and if you don't have an access to your site's dashboard, the simplest way would be to change plugin's folder name. Domain Mapping would then become disabled and if it was indeed a culprit, you will be able to access your site and its dashboard over http:// connection.

    The plugin settings won't be lost so in case SSL was indeed forced by our Domain Mapping plugin, you may then want to rename plugins folder back again to its original name and enable plugin. Then, you will want to access your database and search for meta_key of "domain_mapping" value inside wp_sitemeta table.

    The value of it is a serialized array. You should see these entries there:

    s:19:"map_force_admin_ssl";i:1;

    s:22:"map_force_frontend_ssl";i:1;

    "i:1" means that the option is enabled and "i:0" means it's disabled. Please be extremely cautious while editing this entry because it's a serialized array and any mistake here may break plugin's features or even affect entire WordPress install.

    I hope that helps!

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.