Problem Remove products and categories id in URLs

  • Posts: 165
  • Thank you received: 3
11 years 5 months ago #144108

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi I have a problem with the new feature Remove products and categories id in URLs under the "SEF URL Options".
First I have all my menus set as category listing pages. Then I have a megamenu that allows me to place modules in my menu. Therefore I have the category listing module under the word "shop all brands" in my menu under each section.. This is done so that the categories are automatically populated in the menu so the client does not have to update these.

If you notice I have 2 sub categories called tempurpedic if I turn on the new options remove products and categories id in URLs it lists all the products of tempurpedic on the entire site not just the ones under pillows or base and foundations.

I do not know if this is a bug or what I noticed K2 has this same issue if you name 2 categories the same name and use this option then it picks the first category named "tempurpedic in the database and lists it.

How can I fix this?




Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84142
  • Thank you received: 13647
  • MODERATOR
11 years 5 months ago #144233

Hi,

That's normal...The role of the id in the URL is precisely to avoid that issue. However, there is a solution. You need to enter a different alias in one of the two categories (or both) so that the system will be able to use that alias instead of generating it from the product name and thus it will be able to differentiate both categories from one another.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum