Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    You’ll need to do one of two things:

    1. Acquire a valid SSL certificate from your hosting provider, check their documentation or contact their support for details.

    2. Or, switch the siteurl and home values in the database back to the HTTP version, following this guide: https://codex.ww.wp.xz.cn/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    Gerasimos

    (@thewebcitizen)

    You can roll back the https change by editing your wp-config.php as well and inserting the following two lines:

    define('WP_HOME','http://example.com');
    define('WP_SITEURL','http://example.com');

    ps: change the url to your own one.

    Moderator James Huff

    (@macmanx)

    I don’t recommend making that change. The defines are for temporary fixes. You will need to leave them in place, or when you remove them, the site will revert to whatever is saved in the database.

    Gerasimos

    (@thewebcitizen)

    Yeah. Its a emergency option where user/admin needs to access the WP Dashboard asap.
    It can also help to further investigate the issue and at the meantime keep the site Dashboard accessible.

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

The topic ‘I changed http to https on settings and now can access my site’ is closed to new replies.