• Resolved Kris35

    (@kris35)


    Hi there,

    As above. ??

    My website now isn’t available. On my screen when I try to login to my site or see it online I get a message saying the owner of this website hasn’t confirgured it correctly and gives a security alert. When others view it they get a 404 message. All I need to do is go back into Settings and take the letter s of the https, but I can’t get in. Does anyone know what I should do – I’ not a coder. Or, actually I am changing hosts soon – these are small websites (6 pages each), is there a way to access my content so I can just cut and paste and start again?

    Thankyou.

Viewing 5 replies - 1 through 5 (of 5 total)
  • There are several ways you can backout of the trapdoor you have fallen through.
    You need to login to your website’s hosting management account, probably cPanel.
    Then you can either:
    A) Edit the “wp-config.php” file and add these two lines like these:

    define('WP_HOME','https://yourdomain.com');
    define('WP_SITEURL','https://yourdomain.com');

    or B) Use the phpmyadmin database browser to change the entries in the options table for “siteurl” and “home”

    You probably need to read this once you are going again:
    https://make.www.ads-software.com/support/user-manual/web-publishing/https-for-wordpress/

    When you change hosts suggest that you either choose one that supports https://letsencrypt.org/ OR get them to buy and install an SSL certificate for your domains.

    • This reply was modified 6 years, 9 months ago by RossMitchell.
    Thread Starter Kris35

    (@kris35)

    Oh great – I will try this in a while. Yup, am changing from Hostgator to Dream Host – DH do Let’s Ecrypt, HG make you pay for it or upgrade.

    Thread Starter Kris35

    (@kris35)

    OMG you are an absolute genius!! I tried something similar to this yesterday but it didn’t work. Now I have access!! ?? Thankyou xx

    Which technique did you use ?
    If you edited wp-config.php then it is best to remove those lines after adjusting the database settings since now they are no longer needed.
    If you think it is appropriate could you mark this issue as resolved.

    Thread Starter Kris35

    (@kris35)

    I copy and pasted the code you gave me. Good call regarding removing it – I was going to leave it there. Thanks again. Marked thread as resolved around half an hour ago – if I need to do anything else please let me know. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changed to https in Settings and now cannot access my website’ is closed to new replies.