I'm taking care of a website which has multiple images coming from exterior links.
The thing is, those links are outgoing ones, and I want to avoid that as much as possible.
I tough of one solution which was to add
rel="nofollow"to my links, but the thing is W3C is explicit about it: this is not allowed.
So my first question is: how would Google react to this?
The second thought I asked myself: could I tell Google via robots.txt not to crawl further? If yes, how am I supposed to do it?
I've read that regex is not allowed in robots.txt and I can't use something like
Disallow: /*.jpg$ since I need some of my images to be crawled.
I just thought of this:
User-agent: * Allow: /images/*.jpg$ Disallow: /*.jpg$
Since all of our personal images are located in a specific folder. Would it work?