WordPress on local network for testing
If you want to have wordpress on your local lan, and are getting errors with the installation redirecting to localhost you can either log in via the gui and update the site, or if you are at the command line, change the mysql.
For example:
mysql -u root -p
enter your mysql password (and of course you shouldn’t use root for live deployments).
select your database:
USE wordpress;
change local host to your IP address (if this is DCHP generated, it may change…)
UPDATE wp_options SET option_value='http://192.168.10.44/wordpress/' WHERE option_name='siteurl' OR option_name='home';
And you should be good to go!
No Comments, Comment or Ping
Reply to “WordPress on local network for testing”