Title: Redirected from https to http accidentally
Last modified: July 9, 2021

---

# Redirected from https to http accidentally

 *  [pipelineutilities](https://wordpress.org/support/users/pipelineutilities/)
 * (@pipelineutilities)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/redirected-from-https-to-http-accidentally/)
 * I accidentally changed the settings for redirect in wp-admin from http to https.
   I cannot log in anymore as the website won’t load. Does anyone know how to fix
   this issue without logging into the wp-admin domain?
 * Additionally, I have an SSL certificate but did not install it prior to the above
   switch.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fredirected-from-https-to-http-accidentally%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 10 months ago](https://wordpress.org/support/topic/redirected-from-https-to-http-accidentally/#post-14643731)
 * You can “hard code” your URL by editing wp-config.php: [https://wordpress.org/support/article/editing-wp-config-php/#wp_siteurl](https://wordpress.org/support/article/editing-wp-config-php/#wp_siteurl)
 * Once you have your SSL cert properly installed, you can delete that line (or 
   lines).
 *  [Deepak](https://wordpress.org/support/users/quizcure/)
 * (@quizcure)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/redirected-from-https-to-http-accidentally/#post-14643759)
 * You can try this way too as mentioned on stackoverflow.
 * [https://stackoverflow.com/questions/15238288/cant-login-to-my-wp-admin-after-switching-to-ssl](https://stackoverflow.com/questions/15238288/cant-login-to-my-wp-admin-after-switching-to-ssl)

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

The topic ‘Redirected from https to http accidentally’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [in](https://wordpress.org/support/topic-tag/in/)
 * [log](https://wordpress.org/support/topic-tag/log/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [pipeline](https://wordpress.org/support/topic-tag/pipeline/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Deepak](https://wordpress.org/support/users/quizcure/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/redirected-from-https-to-http-accidentally/#post-14643759)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
