Hi! You have this error (Lighthouse was unable to download a robots.txt file) when analyzing SEO score on Lighthouse. I know, you have tried with a lot of information sources. For example, fiddling with instructions from Lighthouse introduced (example). Or set up CSP connect-src ‘self’ like some tutorials on Google Search. If the methods you approach are not helping you to solve the problem. Please try removing the CSP sandbox allow-forms allow-scripts setting;

If you are sure the content in Robots.txt is correct. The problem usually lies in the CSP (Content-Security-Policy) security setup code. These are the official declarations in the HTTP Header to protect against many threats of exploiting security holes.
You can visit https://securityheaders.com/?q=https%3A%2F%2Fquicktricks.net or https://securityheaders.com/?q=quicktricks.net&followRedirects=on to see how I set up security for the website using HTTP Header.

Lighthouse was unable to download a robots.txt file can be remove when you change or remove some src Policies in “Content-Security-Policy” header.

,

DMCA.com Protection Status


Leave a Reply

Your email address will not be published. Required fields are marked *