Project

General

Profile

Actions

Bug #88032

closed

Only populate HrefLang, if they are available

Added by Julian Wundrak over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2019-03-28
Due date:
% Done:

100%

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

Description

Currently href_lang-Tags are generated and populate every time. E.g. there is a news entry, that is only for Language 0,1,2 but not in Language 3 available, you have the possibility to throw a `InvalidRouteArgumentsException` - Exception. In this case, href lang generates also an entry for this page, but the link is only the site-base-route.

Simply check, if the given link is not empty, resolves the problem. Pull request is after submit available


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87814: Redirect loop when called with e.g. example.com/index.php?id=1&L=1Closed2019-02-28

Actions
Actions #1

Updated by Julian Wundrak over 5 years ago

  • Category set to SEO
Actions #2

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

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

Actions #3

Updated by Gerrit Code Review over 5 years ago

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

Actions #4

Updated by Gerrit Code Review over 5 years ago

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

Actions #5

Updated by Gerrit Code Review over 5 years ago

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

Actions #6

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60458

Actions #7

Updated by Julian Wundrak over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

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

Actions #9

Updated by Anonymous over 5 years ago

  • Status changed from Under Review to Resolved
Actions #10

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60514

Actions #11

Updated by Anonymous over 5 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions #13

Updated by Benni Mack about 5 years ago

  • Related to Bug #87814: Redirect loop when called with e.g. example.com/index.php?id=1&L=1 added
Actions

Also available in: Atom PDF