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

Cancel <lastmod> field #302

Open
enessaatess opened this issue Nov 16, 2022 · 1 comment
Open

Cancel <lastmod> field #302

enessaatess opened this issue Nov 16, 2022 · 1 comment
Labels

Comments

@enessaatess
Copy link

Hello, I am using PrestaSitemapBundle on my website. When I create a sitemap, the field is also created, but I want to prevent this field from being created. Can you help me with this?

image

image

Thank you for your hard work.

@yann-eugone
Copy link
Member

Hello
Unfortunately, it is currently not supported by this bundle.
But you could change the service class (generator or dumper, depending on how you are doing it) in your app, and replace it with your own implementation that will use preg_replace for removing all <lastmod> tags in generated XML.

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

No branches or pull requests

2 participants