简体   繁体   中英

Changed local host wordpress site URL, can't log in

I've been building my website offline using MAMP. I have my domain hosted on Bluehost and wanted to migrate my offline website onto Bluehost's servers. I changed my "Wordpress Address (URL)" and my "Site address (URL)" to the the domain name currently on Bluehost. Now I cannot access my original site files as my log in credentials are not accepted anymore. I've tried editing the wp-config and functions to change the URLs back but then I get a redirect error. Please help.

TLDR: How do I change my Wordpress Address and Site Address back to my local URL without being able to log in to my dashboard?

How do I change my Wordpress Address and Site Address back to my local URL without being about to log in to my dashboard?

These are stored in the database, table wp-options (in case u use the wp_ prefix).

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM