• Resolved ajrengel

    (@ajrengel)


    I can no longer login to my wordpress site.
    I previously had the default settings on, and everything worked fine.

    However, I then changed the setting that had “(Cloudflare Flexible SSL)” At the end of it (seeing as I am indeed using Cloudflare’s free ssl), and now every time I try to log in I am redirected to an error page.

    https://ww.wp.xz.cn/plugins/ssl-insecure-content-fixer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webaware

    (@webaware)

    G’day ajrengel,

    Are you able to login to you website via http? If not, check your wp-config.php file for these lines, and change true to false just while you’re fixing the site:

    define( 'FORCE_SSL_LOGIN', true );
    define( 'FORCE_SSL_ADMIN', true );

    Then login via http and change the setting back to default settings.

    The setting for CloudFlare Flexible SSL should only be selected if your website isn’t detecting https properly without it. The settings page should suggest the correct setting for your site. If it was working on default settings, then either your site already had something adjusting for that (e.g. another plugin), or you have a different CloudFlare setting.

    NB: Flexible SSL is where CloudFlare accepts https connections and passes them to your website insecurely as http. You might have Full or Full (Strict) mode, where CloudFlare talks to your website with https. See here for details:

    https://support.cloudflare.com/hc/en-us/articles/200170416

    cheers,
    Ross

    Thread Starter ajrengel

    (@ajrengel)

    Thanks Ross.
    I have looked in the wp-config.php file, and that line doesn’t exist. I tried adding it in before the end, with both values at “false”, but with no luck.

    I do already have iTheme security forcing ssl behind the scenes, perhaps it is somewhere in those settings that I need to modify this value? Only how do I get to it outside of the dashboard?

    Thanks again.
    Alex

    Plugin Author webaware

    (@webaware)

    G’day Alex,

    Please use FTP to replace your copy of the plugin with this one:

    https://www.dropbox.com/s/9hbdstod8wyebhl/ssl-insecure-content-fixer-2.1.4-dev.zip

    * unzip the file
    * use FTP to delete the old folder
    * upload the new folder

    Then add this line to your wp-config.php file:

    define('SSLFIX_PLUGIN_NO_HTTPS_DETECT', true);

    You will then be able to switch the plugin settings back to default, before removing that line again.

    cheers,
    Ross

    Thread Starter ajrengel

    (@ajrengel)

    Thanks so much for your help. Your instructions didn’t quite work, but I managed to fiddle around with removing the plugin using FTP, and then gaining access to the dashboard from there.

    Thanks so much for your help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Can't login’ is closed to new replies.