Redirect URLs with trailing slashes to their canonical non-trailing-slash URL (or the other way around)
I noticed that in TYPO 9 LTS, the following two URLs will show the same page:
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.