Explaination
In Wordpress - Settings - General, I have edited the
WordPress Address and Site URL
to use HTTPS instead of HTTP without previously installing a SSL certificate. The hosting provider (grape.ca) does not seem to permit LetsEncrypt certificates to be installed, neither phpMyAdmin to be accessed.
Through the wp-config.php, I have manually done a forced http redirect with the following command:
define('FORCE_SSL_ADMIN', false);
Now the admin dashboard opens up, but when i go to the Wordpress - Settings - General page, it loops forever and does not open.
Question In which file are the settings page saved? How can i reset them to HTTP only?
Explaination
In Wordpress - Settings - General, I have edited the
WordPress Address and Site URL
to use HTTPS instead of HTTP without previously installing a SSL certificate. The hosting provider (grape.ca) does not seem to permit LetsEncrypt certificates to be installed, neither phpMyAdmin to be accessed.
Through the wp-config.php, I have manually done a forced http redirect with the following command:
define('FORCE_SSL_ADMIN', false);
Now the admin dashboard opens up, but when i go to the Wordpress - Settings - General page, it loops forever and does not open.
Question In which file are the settings page saved? How can i reset them to HTTP only?
Share Improve this question edited Nov 16, 2024 at 20:36 Fillo asked Nov 16, 2024 at 20:18 FilloFillo 2674 silver badges17 bronze badges1 Answer
Reset to default 2The setting is stored in the wp_options
table in the connected database. You can change it by logging into phpmyadmin and navigating to the table and then edit the field siteurl
. See here for more details.
Instead you can add these two lines to your wp-config file:
define( 'WP_HOME', 'http://yoursiteurl' );
define( 'WP_SITEURL', 'http://yoursiteurl' );
See here for more details.