Title: Site crashed after switching to https
Last modified: May 25, 2018

---

# Site crashed after switching to https

 *  Resolved [cotozafotel](https://wordpress.org/support/users/cotozafotel/)
 * (@cotozafotel)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/site-crashed-after-switching-to-https/)
 * Hi!
    I did something stupid, I changed http to https in Settings-> General before
   making any chages to backend and it obviously crashed. How do I regain acces 
   to /wp-admin? :/
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsite-crashed-after-switching-to-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [cotozafotel](https://wordpress.org/support/users/cotozafotel/)
 * (@cotozafotel)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/site-crashed-after-switching-to-https/#post-10322607)
 * After some sorting out I managed to get it right, so if anyone has this problem
   in the future You need to get to Your WordPress installation folder and find 
   wp-config.php which will be loose wordpad editable file.
    Adding the code below
   to your wp-config.php file (next to other ‘define’ commands) helps:
 * define(‘WP_HOME’,’[http://your-site.com&#8217](http://your-site.com&#8217););
   
   define(‘WP_SITEURL’,’[http://your-site.com&#8217](http://your-site.com&#8217););
 * where your-site.com is Your domain off course.
    Cheers
    -  This reply was modified 7 years, 11 months ago by [cotozafotel](https://wordpress.org/support/users/cotozafotel/).

Viewing 1 replies (of 1 total)

The topic ‘Site crashed after switching to https’ is closed to new replies.

## Tags

 * [Crash](https://wordpress.org/support/topic-tag/crash/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [cotozafotel](https://wordpress.org/support/users/cotozafotel/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/site-crashed-after-switching-to-https/#post-10322607)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
