Advertisement

How To Remove The Parent Item URL From Subpage Links In Joomla 5?

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
thanhhx
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Oct 23, 2018 9:34 am

How To Remove The Parent Item URL From Subpage Links In Joomla 5?

Post by thanhhx » Tue Oct 29, 2024 8:44 am

Hello,

I'm trying to figure out how to remove the Parent Item URL from the links of submenu pages. I'd like the URLs of my submenu pages to display independently, without showing the Parent Item part. However, I'm not sure how to do this in Joomla 5. If anyone has a solution or can guide me through the steps, I'd greatly appreciate it!

https://prnt.sc/qRViHCqPQzmF

Thanks in advance for any help!

Advertisement
shumisha
Joomla! Guru
Joomla! Guru
Posts: 551
Joined: Sat Aug 20, 2005 3:15 pm
Contact:

Re: How To Remove The Parent Item URL From Subpage Links In Joomla 5?

Post by shumisha » Tue Oct 29, 2024 8:52 am

Hi

As we all Joomla versions, you must create direct menu links to these subitems to avoid having the parent item.

These direct menu items don't have to be visible, you can set them to "Hidden" so that your visitors don't see them.
4SEO, 4AI, 4Command, 4Podcast, 4Video, SEO and content extensions for Joomla 3, 4 & 5 - https://weeblr.com
I don't reply to PM anymore. Thanks for using our extensions.

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 571
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: How To Remove The Parent Item URL From Subpage Links In Joomla 5?

Post by Mr. Wimpy » Tue Oct 29, 2024 10:24 am

Joomla creates the URL based on the menu structure: mysite.tld/menu-item/submenu-item/etc.

You could look at extensions for menus:
https://extensions.joomla.org/tags/menu-systems/

Or use aliases. Upside: no additional extension. Downside: double work
A. Create a (hidden) menu with your menu-items, or use an existing menu and set your menu-items to not to display (see tab Link type in menu item edit).
B. Create a menu with menu-headings and submenu items of type alias to menu-items in the menu mentioned at point A.

Advertisement

Post Reply

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