Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Site www.example.com hotlinks an image from site www.example-photos.com (with permission).

Site www.example-photos.com redirects its images to a new domain, www.photo-center.com.

Will the <img src=""> tag on site www.example.com follow the 301 redirects to www.example-photos.com so that when a page is viewed on www.example.com the image will still be displayed?

Or would www.example.com need to update its <img> tag ?

share|improve this question
up vote 4 down vote accepted

Yes, browsers will follow 301 redirects on externally linked images in the same way they would for any other HTTP request.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.