Actions
Bug #87562
closedDuplicate Content for home page with /index/
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-01-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
After updating from TYPO3 9.5.3 to 9.5.4 the home page of the website is available with two url combinations:
www.domain.tld
www.domain.tld/index/
Site configuration snippet
rootPageId: 1 base: 'https://www.domain.tld' baseVariants: { } routeEnhancers: PageTypeSuffix: type: PageType default: '/'
All typolinks for home page (ID:1) now redirects to "https://www.domain.tld/index/" instead of "https://www.domain.tld/" like before.
The home page (ID:1) is a default page and no shortcut.
Best regards
Sam
Updated by Julian Wundrak almost 6 years ago
Hi,
you can use as workaround:
rootPageId: 1
base: 'https://www.domain.tld'
baseVariants: { }
routeEnhancers:
PageTypeSuffix:
type: PageType
default: '/'
index: ''
The critical source is here: https://github.com/TYPO3/TYPO3.CMS/blob/5e589a3353f7ab5928550f416e6a17d88e1fe458/typo3/sysext/core/Classes/Routing/Enhancer/PageTypeDecorator.php#L160
Updated by Samuel Heinz almost 6 years ago
Hi Julian,
thx for the workaround, tested successfully.
Best regards
Sam
Updated by Benni Mack over 4 years ago
- Status changed from New to Closed
Yes. We introduced "index: ''" exactly for this reason
Actions