Canonical tag for pages with extension records not correct
Using for example the news extension: I have a detail page with the news plugin integrated to show the news article, e.g. with the following URL:
Looking at the html code of the generated page I see that the content of the canonical tag is set to the hosting page:
This is no good as it prevents search engines from indexing the detail page.
[BUGFIX] Respect GET parameters when generating canonicalized URLs
Add current query string to the generated canonicalized URL to make the
hreflang and canonical work with additional parameters as well.
Parameters that are excluded from cache hash generation and not included
are excluded from the canonicalized URL.
Tested-by: Joerg Kummer <firstname.lastname@example.org>
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Joerg Kummer <firstname.lastname@example.org>
Reviewed-by: Markus Klein <email@example.com>
Tested-by: Markus Klein <firstname.lastname@example.org>