Last Updated: February 25, 2016
·
271
· nathangs

Database fields to update when changing a WordPress site's URL.

In the wp_options table, update these two rows. If WordPress is installed in a directory, include it in the home row value.

1 - siteurl - http://www.example.com/
36 - home - http://www.example.com/ OR http://www.example.com/wordpress