简体   繁体   中英

How to modify URL for Wordpress in config files, not through the Admin Console

My Wordpress site has an incorrect URL so when I access the domain "phoenixadultsoccerleague.com" it doesn't work. You'll see "Home" and "About" links. When you hover over those links you'll see a different URL.

How can I go into the configuration files and update the URL so the Wordpress site will come up? It should be pointing to "phoenixadultsoccerleague.com" Is it in the DB files or the PHP files in the file structure?

Thank you in advance.

You have to edit the wp_configuration table in your DB. The site domain is written there.

After that, you would have a working wordpress, but I suggest you to run also the domain edit by your control panel: it will do a bunch of stuff that is very tedius if done "by hand"

You may do this through the WordPress database. Open the database and look for wp_optio ns and then " home URL" and "Site URL".

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