This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

katalin2k

  • **
  • 27 posts
Issue with category Slug
« on: November 17, 2024, 04:33:55 PM »
Hi,
What category slug should I use to get urls like: example.com/category-name or example.com/subcategory-name
I tried some variations and some don't work at all and some give duplicate id's like /category/96/96
If I use {CATEGORY_NAME} I get 404 errors for category pages.
If I use {CATEGORY_NAME}/{CATEGORY_ID} I get the duplicated ID like above.
If I use {CATEGORIES} if works for subcategories but I get 404 errors for category pages.

*

MB Themes

Re: Issue with category Slug
« Reply #1 on: November 17, 2024, 05:26:13 PM »
You probably have conflict with other page, most usually static pages.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

katalin2k

  • **
  • 27 posts
Re: Issue with category Slug
« Reply #2 on: November 17, 2024, 05:48:50 PM »
LE: I think I found it, it was because I was using {PAGE_SLUG} instead of {PAGE_SLUG}/{PAGE_ID}.
Will test further and see.
« Last Edit: November 17, 2024, 06:00:19 PM by katalin2k »

*

TheDon

  • **
  • 5 posts
Re: Issue with category Slug
« Reply #3 on: November 17, 2024, 10:56:00 PM »
I am also facing the same issue...
How can it be corrected?

How does page slug affect categories url?

*

katalin2k

  • **
  • 27 posts
Re: Issue with category Slug
« Reply #4 on: November 19, 2024, 11:04:56 AM »
Use the slug I suggested for static pages or read the other recommendation.

Marked as best answer by katalin2k on November 21, 2024, 08:52:51 PM
*

MB Themes

Re: Issue with category Slug
« Reply #5 on: November 19, 2024, 09:00:15 PM »
LE: I think I found it, it was because I was using {PAGE_SLUG} instead of {PAGE_SLUG}/{PAGE_ID}.
Will test further and see.

If you want just slug, do it like help/{PAGE_SLUG} so it's not considered as category URL.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots