7

I've got a website using Joomla 3.x. The menu items are as follow:

  • Home
  • Category A (alias: cat-a)
  • Category B (alias: cat-b)

where Category A and B are in Category List type.

Also I have set up two categories, Category A and Category B (same alias as menu items) and both contain a few articles which it looks like this:

  • Category A (alias: cat-a)
    • Article 1 (alias: art-1)
    • Article 2 (alias: art-2)
  • Category B (alias: cat-b)
    • Article 3 (alias: art-3)
    • Article 4 (alias: art-4)

At first, I expect when I visit Article 1, the URL would be something like: http://www.example.com/cat-a/art-1 and good news is it does happen.

However, with the same settings, it looks differently when visiting Article 3: http://www.example.com/art-3

So the question is, how can I make the URL of Article 3 looks like that of Article 1?

P.S. I didn't use any extension for SEF, just the one included in Joomla distribution.

5
  • Hi Tony :) Welcome to Joomla SE. If my answer doesn't help you, please tell us what SEF extensions you are using on your site (if any). Also information or a picture of your menu structure would help. Thanks.
    – TryHarder
    Jun 13, 2014 at 5:28
  • thanks @moomoochoo. may be i didn't tell in the correct way. actually those articles are not a menu item. i tried to made it clear by editing the original question, see if it is easier to understand. :)
    – Tony Leung
    Jun 13, 2014 at 6:37
  • 1
    Finally find the answer. It's because there is another menu item that is linked to the same category list. So somehow it detect conflicts and didn't add the alias of category.
    – Tony Leung
    Jun 13, 2014 at 8:02
  • OK, glad you found it. You should write that as the answer for the question.
    – TryHarder
    Jun 13, 2014 at 8:08
  • Maybe a related issue / solution: joomla.stackexchange.com/questions/8764/…
    – FFrewin
    Apr 27, 2016 at 12:28

2 Answers 2

0

Found the answer. It's because there is another menu item that is linked to the same category list. So somehow it detect conflicts and didn't add the alias of category.

0

For a achieving something like this, you need to have the corresponding menu items of type Articles -> Category Blog for every category.

The menu item alias will be responsible for the the URL part of the category, while the articles' URL part, will be fulfilled by the article's alias.

Side notes that may be part of your issue are:

If you have a menu item linking directly to an article, then most probably this article will be accessed directly via this menu-item and will bypass the category menu-item URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.