MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Rahul Sambre on July 24, 2016, 05:08:53 AM

Title: How to Change WordPress Site URL and Home URL directly in the Database.
Post by: Rahul Sambre on July 24, 2016, 05:08:53 AM
Hello,

You can also diretly modify your WordPress URL settings in the WordPress database using the phpMyAdmin tool.

Quote
1) Backup your database (https://www.milesweb.com/forums/how-to's/how-to-backup-your-database-in-cpanel/) in cPanel prior to making changes.
2) Login to cPanel And select phpMyAdmin.
3) Use phpMyAdmin to manage your WordPress database.
4) phpMyAdmin select WordPress databaseSelect your WordPress database from the left.
5) Then select your wp_options table. Your wp_ prefix may differ depending on your install settings.
6)  Click Edit beside either the site URL or home URL entries.
7) Enter in your new URL in the option_valuie field, then click Go.

That's it.  :)