Hello,
I am currently going over SEO / performance. This is the first website i have deployed using Netlify.
Website: https://rogers-roofing.com/
I have both the Robots.txt and the Sitemap.xml in the root of my project:
The error is coming from the Lighthouse plugin on the deployment:
Blocking Directive Source
x-robots-tag: noindex
Furthermore the file cannot be accessed online:
https://rogers-roofing.com/sitemap.xml
https://rogers-roofing.com/robots.txt
I have read some stuff about a .toml file, but I do not understand why there are no docs on this?
dig
2
Both return 404 Not Found.
@Decisive-Development The files don’t exist, so lighthouse is entirely correct.
Why the files don’t exist isn’t a Netlify issue, it’s just a misunderstanding you have with Vite, see:
3 Likes
Thank you for your reply, it appears the folder structure is wrong as you point out in that thread, i’ll rearrange.
Much appreciated