Feature #89552

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

Added by Gerrit Hübbers 22 days ago.

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

0%

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.

Also available in: Atom PDF