Hi All
I just noticed in Google Webmaster Tools that some image elements were being blocked due to a Disallow directive in Prestashop's default Robots.txt.
The default prestashop robots.txt contains the directive : Disallow: */modules/
However, this is causing the top banner and image slider images to be blocked. These images reside in sub folders of the theme configurator and image slider modules.
I searched many resources for a way to allow crawlers to access these subfolders while blocking all other content in the modules folder.
After many trials I found the Robots Text Generator on Websmaster World.
I had originally inserted two Allow directives before the Disallow directive for the modules folder.
It didn't work but when I imported the file into the tool, I see these directives have been moved to the top of the file and now looks like :
User-agent: *
Allow: */modules/themeconfigurator/img/
Allow: */modules/homeslider/images/
Disallow: /*orderby=
Disallow: /*orderway=
Disallow: /*tag=
Disallow: /*id_currency=
Disallow: /*search_query=
Disallow: /*back=
Disallow: /*n=
Disallow: /*controller=addresses
Disallow: /*controller=address
Disallow: /*controller=authentication
Disallow: /*controller=cart
Disallow: /*controller=discount
Disallow: /*controller=footer
Disallow: /*controller=get-file
Disallow: /*controller=header
Disallow: /*controller=history
Disallow: /*controller=identity
Disallow: /*controller=images.inc
Disallow: /*controller=init
Disallow: /*controller=my-account
Disallow: /*controller=order
Disallow: /*controller=order-opc
Disallow: /*controller=order-slip
Disallow: /*controller=order-detail
Disallow: /*controller=order-follow
Disallow: /*controller=order-return
Disallow: /*controller=order-confirmation
Disallow: /*controller=pagination
Disallow: /*controller=password
Disallow: /*controller=pdf-invoice
Disallow: /*controller=pdf-order-return
Disallow: /*controller=pdf-order-slip
Disallow: /*controller=product-sort
Disallow: /*controller=search
Disallow: /*controller=statistics
Disallow: /*controller=attachment
Disallow: /*controller=guest-tracking
Disallow: */modules/
Disallow: */classes/
Disallow: */config/
Disallow: */download/
Disallow: */mails/
Disallow: */translations/
Disallow: */tools/
Disallow: */tests/
However, after resubmit the file in Google's robots.txt Tester and submitting the blocked banner image URL's it still shows as blocked.
I'm at a loss and would be grateful for review and advice as to what I'm doing wrong, or if what I'm trying to do is actually achievable.
Thanks
deepee