Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ade-akinyede opened this issue Nov 18, 2019 · 4 comments
Open

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

ade-akinyede opened this issue Nov 18, 2019 · 4 comments

Comments

@ade-akinyede
Copy link

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
Copy link
Owner

alaca commented Nov 18, 2019

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

@ade-akinyede
Copy link
Author

ade-akinyede commented Nov 18, 2019

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

@alaca
Copy link
Owner

alaca commented Nov 18, 2019

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
Copy link
Author

Ok, great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants