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

Add sitemap.xml as paths example #27

Open
fabien-michel opened this issue Oct 30, 2019 · 1 comment
Open

Add sitemap.xml as paths example #27

fabien-michel opened this issue Oct 30, 2019 · 1 comment

Comments

@fabien-michel
Copy link

XML files are HTML'ized by chrome headless. Which means that the result is not the original xml. It is a problem with sitemap.xml which need to stay in XML format (for google bot to index it). As this is a common issue I suggest to add this to configuration example:

filters:
    userAgent:
        defaultPolicy: blacklist
        exceptions:
            keywords:
                - bot
                - slurp
                - bing
                - crawler
                - baiduspider
    paths:
        defaultPolicy: whitelist
        exceptions:
            exact:
                - /sitemap.xml

Or eventually a warning some where in the documentation

@fabien-michel fabien-michel changed the title Add sitemap.xml as path example Add sitemap.xml as paths example Oct 30, 2019
@elion
Copy link

elion commented Feb 19, 2020

Also, add robots.txt.

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