alaca / WP-Performance

Speed optimization plugin for Wordpress
https://wordpress.org/plugins/wp-performance/
22 stars 4 forks source link

Entry in robots.txt that shouldn't be there #21

Open ade-akinyede opened 4 years ago

ade-akinyede commented 4 years ago

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.

alaca commented 4 years ago

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

ade-akinyede commented 4 years ago

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

alaca commented 4 years ago

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.

ade-akinyede commented 4 years ago

Ok, great :)