Forums Forums White Hat SEO Do we need to disallow Javascript and CSS files in robot file?? Reason for your answer please??

  • Do we need to disallow Javascript and CSS files in robot file?? Reason for your answer please??

    Posted by souravprashar on March 30, 2023 at 6:02 am

    Do we need to disallow Javascript and CSS files in robot file?? Reason for your answer please??

    souravprashar replied 1 year ago 2 Members · 1 Reply
  • 1 Reply
  • Gullible_Big_9196

    Guest
    March 30, 2023 at 6:08 am

    No, so Google can see them

  • VastEffective850

    Guest
    March 30, 2023 at 1:07 pm

    No because it prevents the search engine bot from properly understanding what it’s optimized for mobile

  • Neither-Emu7933

    Guest
    March 30, 2023 at 1:55 pm

    I am working on a site with over 100m URLs – there really isn’t any reason to block CSS/JS files from being crawled by Googlebot (or any search bot really). They are necessary for the rendering part of the crawling process and if you block those resources, the bots will have trouble with rendering your site.

    Looking at my crawl stats – these files make up less than 3% of my overall crawling

Log in to reply.