我在谷歌控制台中的网站遇到问题
我在我的网站的谷歌控制台中遇到错误
资源:
https://api.html5media.info/1.1.5/html5media.min.js
Type : Script
Status : Googlebot blocked by robots.txt
我的网站在 xcart 中,我的 robots.txt 包含
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/
....
我试着改变
User-Agent: Googlebot
Disallow: /*printable=Y*
Disallow: /*print_cat=*
Disallow: /*mode=add_vote*
Allow: .js
但是上面的代码没有运气。有人有解决方案吗?我如何使用我的 robots.txt 允许 google bot 允许的第三方 js