Last Updated: February 25, 2016
·
523
· 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

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside