I love that my portfolio has a 90 score on Lighthouse because I have a robots.txt file that disallows crawlers. My SEO would be great if I allowed search engines :P That should be an automatic 0 not a 10 point ding.
Good point, I did not include a robot.txt file in my project so I didn't mention this in the article. I could not find any reference about the Lighthouse score being impacted by the presence of a robot.txt file, just some recommendations about fixing invalid syntax in the file. Source here.
My specific result is is crawlable which I misremembered since it cares more about noindex than the robots.txt (I really don't care to have my name on search results). But the gist was right where since the page can't be indexed, I lost 10 points. But since it can't be indexed, the rest of the idea of being "Search Engine Optimized" is silly. I like having a perfect 90 moreso for accessibility since good SEO tends to mean an optimized site for assistive tech.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I love that my portfolio has a 90 score on Lighthouse because I have a robots.txt file that disallows crawlers. My SEO would be great if I allowed search engines :P That should be an automatic 0 not a 10 point ding.
Good point, I did not include a
robot.txt
file in my project so I didn't mention this in the article. I could not find any reference about the Lighthouse score being impacted by the presence of arobot.txt
file, just some recommendations about fixing invalid syntax in the file. Source here.My specific result is is crawlable which I misremembered since it cares more about
noindex
than therobots.txt
(I really don't care to have my name on search results). But the gist was right where since the page can't be indexed, I lost 10 points. But since it can't be indexed, the rest of the idea of being "Search Engine Optimized" is silly. I like having a perfect 90 moreso for accessibility since good SEO tends to mean an optimized site for assistive tech.