SEF urls with category

  • Posts: 37
  • Thank you received: 3
4 years 11 months ago #317164

-- url of the page with the problem -- : kaldiboz.nl/shop/
-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.17
-- PHP version -- : 7.3.15
-- Browser(s) name and version -- : Any
-- Error-message(debug-mod must be tuned on) -- : None

Hi,

This is driving me nuts. Tried over 30 topics about this and spent hours on it.

What I simply want is:
mysite/shop is the base url
within shop there are categories (cat a, cat b, etc)
within these are products

With the canonical url I got this right for the sitemap. But when using search the url is still sitename/shop/product name

I basically want something very simple:
Sitename/shop/categoryname/productname

I see a lot of people struggle with this. Is there any help? Also I think more FAQ would really help so people don't have to make a topics. Eventually it will cost less time.

Thanks in advance for answer!

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317185

Hi,

I suppose that you've entreed the URL "/shop/categoryname/productname" in the "canonical URL" setting of your products. In that case, you just have to activate the "force canonical URL on listings" setting in the HikaShop configuration and the search results will use that URL.

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

  • Posts: 37
  • Thank you received: 3
4 years 11 months ago #317192

I guess the problem is with smart search I figured. When I use normal search it works.

Any way to get this working with smart search?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317197

Hi,

I don't see the smart search on your website. The URL kaldiboz.nl/zoeken uses the normal search.
If you have an issue with the smart search, please provide instructions to access it as I couldn't find it.

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

  • Posts: 37
  • Thank you received: 3
4 years 11 months ago #317341

That is because I switched to normal search.

Try this:
kaldiboz.nl/smartsearch

As you can see it doesn't include the categories in search.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317345

Hi,

The integration we did with the smart search system doesn't support yet the canonical URL.
So for now you have to go with the dynamically generated URL which doesn't include the information of the menu item.
That's something we have on our todo list as a future improvement of the integration with the smart search system.

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

  • Posts: 37
  • Thank you received: 3
4 years 11 months ago #317376

Ok, will check regularely when it is done. Thanks for the info.

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

Time to create page: 0.044 seconds
Powered by Kunena Forum