Reputation: 159
I am setting up a WordPress site hosted on a home server. On the WordPress site, I have managed to upload a purchased template and import sample content. This means that the website should display exactly like the demo. From WordPress, when I view the website from the local machine (the home server), It displays all of the content that I uploaded. But when I connect to the website from any client, the backgrounds displays, but not the images. I used a plugin called cherryframework4.
http://74.208.12.48/index.php that is the link to the site... in looking at the console logs, I can see that most files filed to load. but all the files exist are in the directories.
it is also worth mentioning that i used cherrframework4 as a plugin to install the site
Upvotes: 1
Views: 206
Reputation: 159
Settings>general I changed the WordPress address and the site URL address to the ip address of my server. What has happening was that, because the url was set to http://localhost, the client machine was looking for the images in its own drive.
Upvotes: 0
Reputation: 85
Happens regularly when moving from localhost to live site or from temporary URL to live. It's looking for images on the initial build platform (e.g. your machine or temporary URL) rather than from the live server:
Try using the search and replace plugin to search for instances of localhost:8888 (or whatever your machine is called) and replace it with the live domain name.
Be careful to check the URL in the code to extract and change only the part of the string that needs it.
Upvotes: 1