#89552Redirect URLs with trailing slashes to their canonical non-trailing-slash URL (or the other way around)
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[FEATURE] Redirect URLs with trailing slashes to their canonical non-trailing-slash URL (or the other way around) Resolves: #89552 Releases: main