Broken img link on one page but not on another

by Rob   Last Updated July 16, 2018 08:04 AM

I have two domains that link to the same site folder, the page loads fully on the .com domain but the image link is broken when viewing it through the .co.uk domain. The files for both domains are exactly the same and the img src is a relative link, so it should work regardless of the domain used.

I tried adding a / in front of the path but that broke the img link on both domains.

The only difference I notice between the domains is that on the .co.uk version the name of the file is seen in the url where it's not in the .com domain version.

The site domains are:-

www.exppublishing.com www.exppublishing.co.uk

Any ideas?

Thanks



Related Questions




A continuous website URL rechecker for Linux?

Updated August 29, 2017 10:04 AM

Broken links in wordpress due to .htaccess

Updated June 29, 2018 15:04 PM