Google会检测Wordpress插件目录中的文件吗?
示例:
/wp-content/plugins/random-image-gallery-with-fancy-zoom/js/
/wp-content/plugins/revslider/rs-plugin/videojs/demo.html
我把索引放在空白处。php位于文件夹和目录中,HTML中有一个meta-noindex。这会阻止谷歌为其编制索引吗?
最合适的回答,由SO网友:IntensiveWordpress 整理而成
会的,但为什么不进一步添加robots.txt?
# Google Image
User-agent: Googlebot-Image
Disallow:
Allow: /*
# Google AdSense
User-agent: Mediapartners-Google
Disallow:
# digg mirror
User-agent: duggmirror
Disallow: /
# global
User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Disallow: /trackback/
Disallow: /feed/
Disallow: /comments/
Disallow: /category/*/*
Disallow: */trackback/
Disallow: */feed/
Disallow: */comments/
Disallow: /*?
Allow: /wp-content/uploads/