Disallowed images in the robots.txt of my Joomla site can't be displayed when shared in Facebook

Posted by opk on Pro Webmasters See other posts from Pro Webmasters or by opk
Published on 2013-06-20T18:30:31Z Indexed on 2013/06/25 4:29 UTC
Read the original article Hit count: 162

Filed under:

I have noticed that since I have disallowed images using the robots.txt in my Joomla site, when sharing an article in Facebook, the image will not be displayed. Why is that? Is it indeed related?

My robots.txt file:

User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /cli/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /libraries/
Disallow: /logs/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/

© Pro Webmasters or respective owner

Related posts about robots.txt