If you have ( robots.txt is not validLighthouse was unable to download a robots.txt file)

The robots.txt file tells search engines which of your site's pages they can crawl. An invalid robots.txt configuration can cause two types of problems:

  • It can keep search engines from crawling public pages, causing your content to show up less often in search results.
  • It can cause search engines to crawl pages you may not want shown in search results.

How the Lighthouse robots.txt audit fails 

 

So here  how to fix it , simply you have to ceate rebots.txt on public_html  then  use this code and change your website url 

 

 


User-agent: Googlebot
Disallow:
User-agent: googlebot-image
Disallow:
User-agent: googlebot-mobile
Disallow:
User-agent: MSNBot
Disallow:
User-agent: Slurp
Disallow:
User-agent: Teoma
Disallow: /
User-agent: Gigabot
Disallow: /
User-agent: Nutch
Disallow: /
User-agent: ia_archiver
Disallow:
User-agent: baiduspider
Disallow: /
User-agent: naverbot
Disallow: /
User-agent: yeti
Disallow: /
User-agent: yahoo-mmcrawler
Disallow:
User-agent: psbot
Disallow: /
User-agent: yahoo-blogs/v3.9
Disallow:
User-agent: *
Disallow:
Crawl-delay: 10
Disallow: /cgi-bin/
Sitemap: https://wwww.inkhost.net   here replace our website to your 

هل كانت المقالة مفيدة ؟

مقالات مشابهة

If You have (Links do not have a discernible name)

Links do not have a discernible name     Link text that is discernible, unique, and focusable...

If you have (Background and foreground colors do not have a sufficient contrast ratio.)

Text that has a low contrast ratio—that is, text whose brightness is too close to the background...

If you have (Lists do not contain only <li> elements and script supporting elements (<script> and <template>).)

Screen readers and other assistive technologies depend on lists being structured properly to keep...

Powered by WHMCompleteSolution