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

[Bug]: Cannot crawl the sitemap as it display incorrect Http header #312

Open
2 tasks done
Phonginhere opened this issue Dec 6, 2023 · 1 comment
Open
2 tasks done

Comments

@Phonginhere
Copy link

Describe the bug

Incorrect http header content-type: "text/plain" (expected: "application/xml")
image

To reproduce

  1. Go to https://www.xml-sitemaps.com/validate-xml-sitemap.html
  2. Type: http://phongporter.vercel.app/sitemap.xml
  3. Scroll down to click "validate sitemap"
  4. See error the red sign: Incorrect http header content-type: "text/plain" (expected: "application/xml")

Browser

Safari

Validations

@yureutaejin
Copy link

I reproduced your bug and found out there is something wrong for typing in that site.
You have to Type: https://phongporter.vercel.app/sitemap.xml, not http://phongporter.vercel.app/sitemap.xml
And It will definitely work.

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