Breaking: #85323 - Move GET parameters in sitemap into namespace
See forge#85323
Description
The names of the GET parameters used in the sitemap generated by EXT:seo have
been changed from page
and sitemap
to tx_
and tx_
respectively.
Impact
Applications, routing configuration and 3rd party tools that rely on the parameters being named page
and sitemap
break.
Affected installations
This affects installations, which use the arguments page
and sitemap
or
override the sitemap templates of EXT:seo.
Migration
In case the arguments are mapped in the routing configuration, the code needs to be slightly adopted. A working example issue
routeEnhancers:
Sitemap:
type: Simple
routePath: 'sitemap-type/{sitemap}'
aspects:
sitemap:
type: StaticValueMapper
map:
pages: pages
tx_news: tx_news
my_other_sitemap: my_other_sitemap
_arguments:
sitemap: 'tx_seo/sitemap'
If the templates of EXT:
have been modified, adopt the generated links to fit the original ones.
In case the URL to a single sitemap has been provided to a 3rd party tool like a crawler, search engine, ... it must be added again with the new URL.