Blog & categories: not showing /blog/article-sample.html for categoried articles?

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 215
Joined: Mon Jul 26, 2021 9:32 am

Blog & categories: not showing /blog/article-sample.html for categoried articles?

Post by djcaptpln880 » Mon Feb 12, 2024 1:43 am

Greetings

Thx in advance

Not sure if this makes sense or not.

I wish to have *all* articles with the base to be /blog/category/article.html

Instead when I get now is when I click on a category it shows hostname.com/category/article.html

However

When I click on the blog link it shows /blog/article.html

How do I get all articles to have base /blog/categories/article.html?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30698
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Blog & categories: not showing /blog/article-sample.html for categoried articles?

Post by Per Yngve Berg » Mon Feb 12, 2024 12:03 pm

It will following your Menu structure. The Menu Item 'category" must have 'Blog' as Parent.

djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 215
Joined: Mon Jul 26, 2021 9:32 am

Re: Blog & categories: not showing /blog/article-sample.html for categoried articles?

Post by djcaptpln880 » Mon Feb 12, 2024 3:18 pm

Thx for reply

What happens if the blog menu item is set to "hidden"? it is set to this in my site..

User avatar
eorisis
Joomla! Apprentice
Joomla! Apprentice
Posts: 45
Joined: Sun Jul 21, 2013 5:18 pm
Location: Thessaloniki Greece
Contact:

Re: Blog & categories: not showing /blog/article-sample.html for categoried articles?

Post by eorisis » Wed Feb 14, 2024 11:09 am

If you want to go "crazy" with it, you can always create a "virtual" nested structure with menu Item Type: Separator (it is in System Links). Separators are not links but do create a URL result as you want it. This is not a hack at all, it's legit practice.
Joomla-Powered IT Solutions
https://eorisis.com

djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 215
Joined: Mon Jul 26, 2021 9:32 am

Re: Blog & categories: not showing /blog/article-sample.html for categoried articles?

Post by djcaptpln880 » Wed Feb 14, 2024 4:30 pm

eorisis wrote:
Wed Feb 14, 2024 11:09 am
If you want to go "crazy" with it, you can always create a "virtual" nested structure with menu Item Type: Separator (it is in System Links). Separators are not links but do create a URL result as you want it. This is not a hack at all, it's legit practice.
Thx for reply.. I will look into it.


Post Reply

Return to “General Questions/New to Joomla! 5.x”