referencing images - absolute links?
Hi, as my site continues to grow Ive been getting an increasing number of 'internal server error' issues. This only lasts a few seconds but of course, shouldn't be happening at all.
I spoke to my host and this is what they told me:
"Your site is loading a large amount of external objects from other servers. You can check this as well by using the following link to test your site. We cannot guarantee the reliability of the connection to other networks that we do not control and this situation would definitely lend itself to potential intermittent page load issues. Please try to move these objects to your server locally and reference them there. ....
.....It appears as though you're referencing your images on your site using absolute links (
http://blabhablahbalbh.whatever.com/images.jpg) as opposed to referencing them in a relative manner that addresses them on the file system in relation to the folder that the site is being run from. This is effectively establishing a socket for each image that needs to be loaded in this manner and pegging out your server resources. Please address this issue and you shouldn't have a problem with this moving forward."
Why is this link type the default in CP as it doesnt seem to be the most efficient... How can I fix this?
Thanks