Last active
July 21, 2016 18:03
-
-
Save JohnBunka/79180d7da4e1154ecde420787d277479 to your computer and use it in GitHub Desktop.
Relocate and update WordPress site URLs / Great when moving a site and updating the links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Update the URL for the site https://codex.wordpress.org/Changing_The_Site_URL | |
update_option('siteurl','http://example.com'); | |
update_option('home','http://example.com'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment