Should I disallow crawling of all of my site's JavaScript files?

Subscribers:
751,000
Published on ● Video Link: https://www.youtube.com/watch?v=LW3pjQeCqqk



Duration: 1:16
5,689 views
54


Googlebot keeps crawling my JavaScript and thinking that text in my scripts refers to URLs. Can I just disallow crawling of my JavaScript files to fix that?
John Mueller, Zurich, Switzerland

Have a question? Ask it in our Webmaster Help Forum: http://groups.google.com/a/googleproductforums.com/forum/#!forum/webmasters

Want your question to be answered on a video like this? Follow us on Twitter and look for an announcement when we take new questions: http://twitter.com/googlewmc

More videos: http://www.youtube.com/GoogleWebmasterHelp
Webmaster Central Blog: http://googlewebmastercentral.blogspot.com/
Webmaster Central: http://www.google.com/webmasters/




Other Videos By Google Search Central


2013-04-22What is being done to remove "no results" pages?
2013-04-17Should I add an archive of hundreds of thousands of pages all at once or in stages?
2013-04-15Will multiple internal links with the same anchor text hurt a site's ranking?
2013-04-10Can I buy a domain that used to have spam on it and still rank?
2013-04-09If my web host has a lot of spammy clients, will that influence my site's ranking?
2013-04-08Why does a new page's ranking change over time?
2013-04-03How can a legitimate business compete online?
2013-04-02If a site linking to mine gets caught selling links, what happens to my site?
2013-04-01Why might a page with bad backlinks links be ranking highly?
2013-03-27Where do you see Google Search 10 years from now?
2013-03-26Should I disallow crawling of all of my site's JavaScript files?
2013-03-26ウェブマスター ハングアウト 2013 年 3 月 26 日 (Japanese)
2013-03-25How do I get my search rankings back after my site has been down?
2013-03-20Does Google still need text to understand my site?
2013-03-19Will Google suspect that useful links on our site are paid?
2013-03-18What does Google think of single-page websites?
2013-03-13Can someone verify ownership of my site by adding a meta tag to the body of my page?
2013-03-12Help for hacked sites: File system damage assessment
2013-03-12Help for hacked sites: Code injection
2013-03-12Help for hacked sites: Clean and maintain your site
2013-03-12Help for hacked sites: Identify the vulnerability



Tags:
google
seo
JavaScript
crawling
disallow
robots.txt