I changed my website's Home and Site URL in the Settings -> General Settings pane of the administration back-end and now it only pulls through plain text and doesn't load the admin panel at all.
None of the credentials in the wp-config.php
file have been changed at all. At first it said something like "Error establishing a database connection" and that seemed to fix itself. But now the site doesn't pull through any stylesheets and I can't login to the back-end using mysite.com/admin
.
Add below code into your wp-config.php
define( 'WP_HOME', ' http://example.com ' ); define( 'WP_SITEURL', ' http://example.com ' );
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.