Title: http to https &amp; 404 Not found issue
Last modified: August 30, 2016

---

# http to https & 404 Not found issue

 *  Resolved [prashantpvm](https://wordpress.org/support/users/prashantpvm/)
 * (@prashantpvm)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-404-not-found-issue/)
 * Hi All,
    I was exploring the various settings on my dashboard setting page and
   I inadvertently changed the address from [http://prashantmishra.net](http://prashantmishra.net)
   to [https://prashantmishra.net](https://prashantmishra.net)
 * While I realize it’s a mistake, but now, I am unable to even log-in to revert
   the change that I made. Each time I attempt to login and/or try any link, I land
   on a “404 Not found” page.
 * Can someone suggest how I can rectify this? Thanks!

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

 *  [CS_WordPress](https://wordpress.org/support/users/cs_wordpress/)
 * (@cs_wordpress)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-404-not-found-issue/#post-6521785)
 * Dear prashantpvm,
 * Are you able to get to your [WP-Admin page](http://prashantmishra.net/wp-admin)?
   To me it seems that it is functioning and that you should be able to login.
 * When does the 404-happen?
 * Kind regards,
 * CS_WordPress
 *  Thread Starter [prashantpvm](https://wordpress.org/support/users/prashantpvm/)
 * (@prashantpvm)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-404-not-found-issue/#post-6521816)
 * Dear CS-WordPress – Thanks for checking back and helping out. I fixed the problem
   yesterday. It took me a some time to research but the solution was fairly simple
   and I found it on this forum itself.
 * I used the ‘cpanel’ entry that was given to me when the site was hosted. Once
   in, I went to file manager and edited the wp-config.php file with the following
   lines just after ‘<?php’ at the beginning of the file:
 * define(‘WP_HOME’,’[http://prashantmishra.net&#8217](http://prashantmishra.net&#8217););
   define(‘WP_SITEURL’,’[http://prashantmishra.net&#8217](http://prashantmishra.net&#8217););
 * Save. Build. Log out.
 * Then I went back to the site to login as admin. Which it allowed this time. Checked
   dashboard->settings->general to see if change is reflecting. It was and that’s
   about it. 🙂

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

The topic ‘http to https & 404 Not found issue’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [not-found](https://wordpress.org/support/topic-tag/not-found/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [prashantpvm](https://wordpress.org/support/users/prashantpvm/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-404-not-found-issue/#post-6521816)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
