Tag Info

Hot answers tagged

6

When I try to get a particular image on a remote domain via JavaScript I get a 403 error. Likely answer: The site in question has protection against "leeching" / hotlinking. i.e. It checks to see what host is requesting the file before serving it. If the request comes from an unrecognised website, they throw a 403 Forbidden error. If you take a look ...


2

The site appears to be checking the referrer field. curl -I http://mysticstars.net/gifs/star_bul.gif -e "*" HTTP/1.1 403 Forbidden Date: Wed, 25 Jun 2014 15:45:40 GMT Server: Apache/2.2.27 Accept-Ranges: bytes Vary: Accept-Encoding Content-Length: 1007 Content-Type: text/html curl -I http://mysticstars.net/gifs/star_bul.gif -e "http://mysticstars.net" ...


1

I always lean towards a server side redirect for this sort of thing as well. The only possible disadvantage I could see (though I don't consider it one) is that by using server side 301's your affiliate links aren't likely to get indexed in Google. If you don't care about getting your redirect links indexed then it seems to me that a server side redirect is ...


1

Googlebot does not use JavaScript or the GeoLocation HTTP header to indicate its geographic location. Googlebot will appear to be a visitor that does not have these features. Googlebot does come from a real IP address. If you were determining location from that IP address, you would likely redirect Google to a page appropriate for a Mountain View, ...



Only top voted, non community-wiki answers of a minimum length are eligible