Advertisement:

Author Topic: Friendly URL  (Read 435 times)

Afi

  • Newbie
  • *
  • Posts: 2
Friendly URL
« on: November 21, 2018, 08:50:26 pm »
Hello, I have a problem with friendly URL.
When selecting a category to view the announcements it appears in the style:

mysite.com/CATEGORIES_1/CATEGORIES_1

I'd like to remove this "_1" and show the category name once, I've modified this in the rules, but when I leave {CATEGORY_NAME}, the 404 error appears when I try to access a category.

Can you help me with solving this problem?

Thank you,

WEBmods

  • Hero Member
  • *****
  • Posts: 937
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: Friendly URL
« Reply #1 on: November 21, 2018, 08:53:46 pm »
Hello,

AFAIK that part (ie. _3) is an ID required to identify the category as there could be more categories with the same name. You can't remove it without a bunch of NOT RECOMMENDED core edits.

Regards.

Afi

  • Newbie
  • *
  • Posts: 2
Re: Friendly URL
« Reply #2 on: November 21, 2018, 09:38:02 pm »
Hello,

AFAIK that part (ie. _3) is an ID required to identify the category as there could be more categories with the same name. You can't remove it without a bunch of NOT RECOMMENDED core edits.

Regards.

Thank you for your answer, but in all categories the same category _1 appears.

And about duplicating what they can do?
My link appears like:

mysite.com/category_1/category_1

I would even like mysite.com/category_1 to appear, but do not double.

WEBmods

  • Hero Member
  • *****
  • Posts: 937
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: Friendly URL
« Reply #3 on: November 21, 2018, 10:30:24 pm »
Can you post a screenshot of your permalink configuration from admin dashboard?

Regarda.