PrestaSitemapBundle
PrestaSitemapBundle copied to clipboard
A symfony bundle that provides tools to build a rich application sitemap. The main goals are : simple, no databases, various namespace (eg. google image), respect constraints etc.
My links look like: https://127.0.0.1:8000/en/contact https://127.0.0.1:8000/fr/contact https://127.0.0.1:8000/de/contact ```yaml presta_sitemap: resource: "@PrestaSitemapBundle/config/routing.yml" route_annotation_listener: true defaults: priority: 1 changefreq: hourly lastmod: now alternate: enabled: true default_locale: "fr" locales: ["fr", "en", "de"] i18n:...
Imagine, what if after a while, some section stops populate, does the bundle have some sync feature that deletes "unused" section sitemap files?
**Description** Actually problem in the title - how I could generate only one sitemap without sections?
**PHP version(s) affected**: 8.0.2 **Package version(s) affected**: 2.5.0 **Description** Calling `bin/console presta:sitemaps:dump` while setting ``` dump_directory: public/sitemap sitemap_file_prefix: sitemap/sitemap ``` (so basically trying to dump all sitemaps files into one...
**Description** Sometimes there is a need to clean up sections that are no longer relevant in the sitemap index. Creating a dump of all sections might not be feasible as...
**Pages involved** - [README.md](/README.md) - [Resources/doc/2-configuration.md](https://github.com/prestaconcept/PrestaSitemapBundle/blob/master/Resources/doc/2-configuration.md) - [Resources/doc/3-static-routes-usage.md](https://github.com/prestaconcept/PrestaSitemapBundle/blob/master/Resources/doc/3-static-routes-usage.md) - [Resources/doc/5-decorating-urls.md](https://github.com/prestaconcept/PrestaSitemapBundle/blob/master/Resources/doc/5-decorating-urls.md) **Description** Since #251 was merged and released, we may add more documentation about both : - What offers [`SitemapAddUrlEvent`](https://github.com/prestaconcept/PrestaSitemapBundle/blob/master/Event/SitemapAddUrlEvent.php) to...
After #187 I realized that while output directory can be configured it produces a strange inconsistency: you get a sitemap in e.g. `public/sitemap/xml/` while all your URLs are `https://www.example.com/sitemap.foo_123.xml.gz` in...
Currently nothing prevents ~~user~~crontab from running two copies of `presta:sitemaps:dump` twice. This will cause race condition for index modification. I think support for blocking FS-based lock type can be easily...
**Description** We have a nextjs app for landing pages in front of our internal app, previously we managed sitemaps in the internal app with this bundle, but now that nextjs...