Feature #89552

Redirect URLs with trailing slashes to their canonical non-trailing-slash URL (or the other way around)

Added by Gerrit Hübbers almost 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-10-30
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

I noticed that in TYPO 9 LTS, the following two URLs will show the same page:

Live example:

For various reasons (including SEO and web analytics, https://searchfacts.com/url-trailing-slash/ ) it would be great to have only one of these URLs be canonical, while a request to the other URL results in a 301 Redirect to the canonical URL.

TYPO 9 seems to generate URLs without a trailing slash (which I also prefer). (Pre-TYPO 9) realurl seems to generate URLs with a trailing slash.


Related issues

Related to TYPO3 Core - Bug #89091: Page with a slug with trailing slash results in 404Closed2019-09-05

Actions
#1

Updated by Sybille Peters 11 months ago

  • Related to Bug #89091: Page with a slug with trailing slash results in 404 added

Also available in: Atom PDF