localhost on iPhone not loading images

Unfortunately, when changing the URL of your site with WordPress, you also need to do a pretty big find/replace job in the database: this is because any links or images (and probably a number of other things too) added to posts have absolute (http://localhost:8888/wp-content/uploads/etc.) rather than relative links (/wp-content/uploads/etc.). Thus, all your images embedded in … Read more

Other devices on same network unable to access WordPress localhost setup

Have a look at the answers here: https://stackoverflow.com/questions/20122583/website-in-wordpress-redirects-to-old-url-after-migration In particular, I’d check these two: https://stackoverflow.com/a/23873881/1577662 be sure to clear your cache and use this script to replace ALL urls in your database. https://github.com/interconnectit/Search-Replace-DB And https://stackoverflow.com/a/41223768/1577662 In case you are using Polylang with a dynamic IP, add define(‘PLL_CACHE_HOME_URL’, false); in your wp-config.php and it will solve … Read more

WordPress on localhost still points to the live site

I have found the answer… well to my situation anyway. It was something related to multisite. Removing the following from wp-config.php got it to work for me. Removed define(‘WP_ALLOW_MULTISITE’, true); define( ‘MULTISITE’, true ); define( ‘SUBDOMAIN_INSTALL’, false ); $base=”https://wordpress.stackexchange.com/”; define( ‘DOMAIN_CURRENT_SITE’, ‘www.mywebsite.co.uk’ ); define( ‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/” ); define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’, 1 ); … Read more