Bug #86865

Canonical tag for pages with extension records not correct

Added by Chris Müller 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2018-11-06
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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:

https://example.org/path/to/news/detail/my-awesome-news-article/

Looking at the html code of the generated page I see that the content of the canonical tag is set to the hosting page:

https://example.org/path/to/news/detail/

This is no good as it prevents search engines from indexing the detail page.


Related issues

Related to TYPO3 Core - Feature #86847: addQueryString for languageMenuProcessor New 2018-11-04
Related to TYPO3 Core - Feature #87128: Add acceptance test concerning canonicalized URL creation Under Review 2018-12-11
Duplicates TYPO3 Core - Bug #86577: hreflang and canonical ignores extension parameters Resolved 2018-10-05
Duplicated by TYPO3 Core - Bug #87105: Canonical - not "parameter-save" Closed 2018-12-07

Associated revisions

Revision 9988b62b (diff)
Added by Richard Haeser about 1 month ago

[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
in $GLOBALS['TYPO3_CONF_VARS']['FE']['additionalCanonicalizedUrlParameters'],
are excluded from the canonicalized URL.

Resolves: #86577
Resolves: #86866
Resolves: #86865
Releases: master
Change-Id: Ib574e2f6c7aa869b4ffa798c7122a60f4cf13f13
Reviewed-on: https://review.typo3.org/58611
Tested-by: Joerg Kummer <>
Tested-by: TYPO3com <>
Reviewed-by: Joerg Kummer <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

History

#1 Updated by Georg Ringer 3 months ago

  • Related to Feature #86847: addQueryString for languageMenuProcessor added

#2 Updated by Richard Haeser 2 months ago

  • Duplicates Bug #86577: hreflang and canonical ignores extension parameters added

#3 Updated by Richard Haeser 2 months ago

  • Status changed from New to Accepted

#4 Updated by Gerrit Code Review about 2 months ago

  • Status changed from Accepted to Under Review

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#5 Updated by Gerrit Code Review about 2 months ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#6 Updated by Gerrit Code Review about 2 months ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#7 Updated by Gerrit Code Review about 2 months ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#8 Updated by Gerrit Code Review about 2 months ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#9 Updated by Gerrit Code Review about 2 months ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#10 Updated by Gerrit Code Review about 2 months ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#11 Updated by Richard Haeser about 2 months ago

  • Duplicated by Bug #87105: Canonical - not "parameter-save" added

#12 Updated by Gerrit Code Review about 2 months ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#13 Updated by Gerrit Code Review about 2 months ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#14 Updated by Gerrit Code Review about 2 months ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#15 Updated by Gerrit Code Review about 2 months ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#16 Updated by Gerrit Code Review about 1 month ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#17 Updated by Gerrit Code Review about 1 month ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#18 Updated by Gerrit Code Review about 1 month ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#19 Updated by Gerrit Code Review about 1 month ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#20 Updated by Gerrit Code Review about 1 month ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#21 Updated by Gerrit Code Review about 1 month ago

Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58611

#22 Updated by Richard Haeser about 1 month ago

  • Status changed from Under Review to Resolved

#23 Updated by Steffen Dietrich about 1 month ago

  • Related to Feature #87128: Add acceptance test concerning canonicalized URL creation added

Also available in: Atom PDF