I am facing issue with my site in google console
I am getting below error in google console for my site
Resource :
https://api.html5media.info/1.1.5/html5media.min.js
Type : Script
Status : Googlebot blocked by robots.txt
My site is in xcart and my robots.txt contains
User-agent: Googlebot
Disallow: /*printable=Y*
Disallow: /*js=*
Disallow: /*print_cat=*
Disallow: /*mode=add_vote*
User-agent: *
Allow: *.js
Allow: *.css
Allow: *.jpg
Allow: *.gif
Allow: *.png
Disallow: /admin/
Disallow: /catalog/
Disallow: /customer/
Disallow: /files/
Disallow: /include/
....
I tried changing
User-Agent: Googlebot
Disallow: /*printable=Y*
Disallow: /*print_cat=*
Disallow: /*mode=add_vote*
Allow: .js
But no luck with above code. Anyone has solution? how can i allow third party js allowed by google bot using my robots.txt