admin管理员组文章数量:1434935
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.
本文标签: phpHow to reset WordpressSettingsGeneral pageso the website can use HTTP onlyStack Overflow
版权声明:本文标题:php - How to reset Wordpress - Settings - General page, so the website can use HTTP only? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745644288a2668041.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论