I want to block XML files from Google bot except sitemap.XML. I am using Lazyest Gallery for my WordPress image gallery. Every gallery folder have a XML file containing the details of images. The problem is, now Google index those XML files instead of galleries. My site search also showing XML files instead of albums. will
Disallow: /*/*.xml$
work?
I have excluded feeds by adding
Disallow: /*/rss/$
to my robots.txt