Change WordPress back from https to http

0
(0)

WP-Admin is locked after switching to HTTPS, canceling when loading the website

If something goes wrong with WordPress from HTTP to HTTPS, because, for example, the SSL certificate and web server configuration is not consistent, you may need to switch back to HTTP for further action, but access to the WP admin is now blocked.

Solution

Remedy to change via phpMyAdmin in the SQL table wp_options and the field siteurl and home, with Edit is entered at option_value the desired URL.

The URL changed here corresponds to this one under Settings – Generally, wordpress address (URL) and website address (URL) is available.

You may need to edit the wp-config.php configuration file to disable SSL.

Set the value to false, or comment out the line with a hash.

Also, it may be important to note that if Apache RewriteRule HTTPS is enabled, it can be reset.

This could be in the .htaccess file, or in the web server configuration under VirtualHost of the appropriate domain.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

Your email address will not be published. Required fields are marked *