Last active
September 23, 2019 09:35
-
-
Save neps-in/1c9300de7dee26df3bbd00c33713d931 to your computer and use it in GitHub Desktop.
set base_url of wordpress using mysql commandline or phpmyadmin
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
-- Mysql commandline option to change the baseurl or siteur or home url of a wordpress website | |
-- This option will be handy, when you are not able to loging to admin panel of wordpress website. | |
update wp_options set option_value='http://newwebsite.com' where option_name = 'siteurl'; | |
update wp_options set option_value='http://newwebsite.com' where option_name = 'home'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment