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

Issue with ignoring routes in sitemap generation #54

Open
CoCoSol007 opened this issue Jan 5, 2025 · 0 comments
Open

Issue with ignoring routes in sitemap generation #54

CoCoSol007 opened this issue Jan 5, 2025 · 0 comments

Comments

@CoCoSol007
Copy link

My ./src/routes directory:
image

When I run the following command:

npx svelte-sitemap -i 404 --domain https://example.com

The generated sitemap.xml still includes the /404 route:
image

It seems that the -i (or --ignore) option is not properly excluding the 404 route from the sitemap. Could this be a bug, or am I missing something in the configuration?

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