WP-Performance
WP-Performance copied to clipboard
Entry in robots.txt that shouldn't be there
Running a site audit, I get an error saying "Robots.txt file has format errors" caused by this entry:
<!-- WP Performance error: both head and body tag should be present in template file -->
While this is likely an issue, it shouldn't be in the robots.txt.
Hi, yes this is a WPP issue. Do you use any plugin to generate robots.txt file?
Not explicitly. I was thinking of doing this recently with clearfy plugin, but not sure if it'll create a clash with WPP?
Yes for sure. Everything generated dynamically could clash with WPP.
I'll check it out as soon as I catch some time.
Thank you for letting me know.
Ok, great :)