I have created a localhost
version of my wordpress site on my mac. I now want to test it on various devices over my WLAN network. So, as per other posts on here, I changed this in my wp-config.php
define('WP_HOME','http://localhost:8888');
define('WP_SITEURL','http://localhost:8888');
to
define('WP_HOME','http://192.168.0.19:8888');
define('WP_SITEURL','http://192.168.0.19:8888');
This works as far as it loads the site, css etc but it doesn't load any images (apart from those set as background in css). The db must be working fine because the menu and all the pages and links are working fine, just no images.
So I did a search in the database for 'localhost' and it turned up a load of results in the wp_posts
table under the column guid
. I've checked the wordpress settings>general and both WordPress Address (URL) and Site Address (URL) are set to http://192.168.0.19:8888
Any ideas?