Last active
September 4, 2016 03:33
-
-
Save alkrauss48/741ef4e063b09c12a749 to your computer and use it in GitHub Desktop.
Change Wordpress Base URL via SQL
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
# Changing the main site url and home url locations for Wordpress via SQL | |
# Useful when migrating database across environments | |
update wp_options set option_value = 'new_url' where option_name IN ('siteurl', 'home'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment