Trailing Slash Issue In Joomla 5.1 Canonical

Discuss Search Engine Optimization in relation to Joomla! 5.x. This forum will also have discussions on SEF/SEO Joomla! 5.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
ImperialHawk
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sun Mar 29, 2009 4:19 pm
Contact:

Trailing Slash Issue In Joomla 5.1 Canonical

Post by ImperialHawk » Wed Apr 17, 2024 6:00 pm

Hello Support Forum,

I am happy to say that I've successfully updated to Joomla 5.1 on my website. I can see from the release notes that there are some SEO items for the SEF plugin that have been added.
https://www.joomla.org/announcements/re ... -here.html

Specifically this one about the trailing slash.
https://github.com/joomla/joomla-cms/pull/42702

This works great! However, I am noticing a strange issue with the homepage canonical now. It is still generating a URL to have a trailing slash even though all of the URLs are supposed to not have the trailing slash. For example. If in the SEF plugin you set "enforce URLS without trailing slash" that works for the URLs in subfolders, but not for the domain. So in the browser you will see https://example.com but for the canconical you will see "https://example.com"

Is there a way to fix this? Can this be a bug? If so, how do I report this?

Thank you,
Geoffrey

Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 5.x”