Title: Lost wp-admin access after https change, help
Last modified: May 8, 2020

---

# Lost wp-admin access after https change, help

 *  [crypt0z](https://wordpress.org/support/users/crypt0z/)
 * (@crypt0z)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/lost-wp-admin-access-after-https-change-help/)
 * I used certbot to get a cert for apache and then changed the url in WP settings
   from http to https. This caused the following error:
    `Error code: SSL_ERROR_RX_RECORD_TOO_LONG`
   I changed wp-config.php with
 *     ```
       define( 'WP_SITEURL', 'http://mysite:8080' );
       define( 'WP_HOME',    'http://mysite:8080' );
       ```
   
 * and that allows me to view the page but any attempts to access the admin page
   gets redirected to https and results in the error again. How do I manually change
   back that General Settings option without the UI??

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

 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/lost-wp-admin-access-after-https-change-help/#post-12805233)
 * [@crypt0z](https://wordpress.org/support/users/crypt0z/)
 * Did you try the online debugging tools already ?
    [https://letsdebug.net/](https://letsdebug.net/)
   [https://check-your-website.server-daten.de/](https://check-your-website.server-daten.de/)
 *  Thread Starter [crypt0z](https://wordpress.org/support/users/crypt0z/)
 * (@crypt0z)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/lost-wp-admin-access-after-https-change-help/#post-12805317)
 * [@corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * Yes, it said the same thing I said, the website is working but the wp-admin is
   not.
 * I am looking for a way to change the settings without wp-admin access, only console
   or physical.
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/lost-wp-admin-access-after-https-change-help/#post-12805328)
 * Connect to the db over ssh ?
    update _options set site_url = ‘the url’; update
   _options set site_homr = ‘the url’;

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

The topic ‘Lost wp-admin access after https change, help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/lost-wp-admin-access-after-https-change-help/#post-12805328)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
