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

Robot.txt issue. Contain HTML markup #490

Open
Shanyb opened this issue Nov 6, 2024 · 0 comments
Open

Robot.txt issue. Contain HTML markup #490

Shanyb opened this issue Nov 6, 2024 · 0 comments

Comments

@Shanyb
Copy link

Shanyb commented Nov 6, 2024

Description

The generated robot.txt file contains HTML markup.
Google doesn't seem to like it and generates an error.

Error – Use of incorrect syntax (line 1)

Generated robot.txt file

Sitemap: https://inis.qc.ca/sitemap.xml

User-agent: *
Disallow: /cpresources/
Disallow: /lms/
Disallow: /assets/secure

Additional info

  • Craft version: Craft Pro 3.7.44
  • SEO version: 3.7.4
  • PHP version: 7.4.33
@Shanyb Shanyb changed the title Robot.txt problel. Contain HTML markup Robot.txt issue. Contain HTML markup Nov 6, 2024
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

1 participant