WP-Performance icon indicating copy to clipboard operation
WP-Performance copied to clipboard

Entry in robots.txt that shouldn't be there

Open ade-akinyede opened this issue 6 years ago • 4 comments

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.

ade-akinyede avatar Nov 18 '19 09:11 ade-akinyede

Hi, yes this is a WPP issue. Do you use any plugin to generate robots.txt file?

alaca avatar Nov 18 '19 09:11 alaca

Not explicitly. I was thinking of doing this recently with clearfy plugin, but not sure if it'll create a clash with WPP?

ade-akinyede avatar Nov 18 '19 09:11 ade-akinyede

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.

alaca avatar Nov 18 '19 09:11 alaca

Ok, great :)

ade-akinyede avatar Nov 18 '19 09:11 ade-akinyede