Title: Changed to https in Settings and now cannot access my website
Last modified: March 4, 2018

---

# Changed to https in Settings and now cannot access my website

 *  Resolved [Kris35](https://wordpress.org/support/users/kris35/)
 * (@kris35)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/changed-to-https-in-settings-and-now-cannot-access-my-website/)
 * 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)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/changed-to-https-in-settings-and-now-cannot-access-my-website/#post-10037256)
 * 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','http://yourdomain.com');
       define('WP_SITEURL','http://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.wordpress.org/support/user-manual/web-publishing/https-for-wordpress/](https://make.wordpress.org/support/user-manual/web-publishing/https-for-wordpress/)
 * When you change hosts suggest that you either choose one that supports [https://letsencrypt.org/](https://letsencrypt.org/)
   OR get them to buy and install an SSL certificate for your domains.
    -  This reply was modified 8 years, 3 months ago by [RossMitchell](https://wordpress.org/support/users/rossmitchell/).
 *  Thread Starter [Kris35](https://wordpress.org/support/users/kris35/)
 * (@kris35)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/changed-to-https-in-settings-and-now-cannot-access-my-website/#post-10037274)
 * 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](https://wordpress.org/support/users/kris35/)
 * (@kris35)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/changed-to-https-in-settings-and-now-cannot-access-my-website/#post-10037339)
 * OMG you are an absolute genius!! I tried something similar to this yesterday 
   but it didn’t work. Now I have access!! 🙂 Thankyou xx
 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/changed-to-https-in-settings-and-now-cannot-access-my-website/#post-10037614)
 * 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](https://wordpress.org/support/users/kris35/)
 * (@kris35)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/changed-to-https-in-settings-and-now-cannot-access-my-website/#post-10037652)
 * 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.

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Kris35](https://wordpress.org/support/users/kris35/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/changed-to-https-in-settings-and-now-cannot-access-my-website/#post-10037652)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
