SEF url options

  • Posts: 18
  • Thank you received: 1
1 year 8 months ago #352131

Hi,
I have to keep the URLs as in the old site, the name of the category and the product must not appear here. In the SEF url options I can only empty one of the 2 fields (Category SEF name / Product SEF name). How to disable these two fields? Thank you.

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

  • Posts: 83326
  • Thank you received: 13473
  • MODERATOR
1 year 8 months ago #352133

Hi,

It's not possible to remove both. Otherwise, when routing the URLs the system doesn't know if it needs to look for a product or a category based on the alias in the URL.
If you really want to have whatever URL you want regardless of the restrictions in place by how the routing is done in Joomla / HikaShop, the only solution is to use a SEF extension. I would recommend 4SEF:
extensions.joomla.org/extension/4sef/
The way it works is that it keeps the non-SEF and SEF URLs in the database when the SEF URL is generated from the original non SEF URL. That way, when it routes the URLs (someone clicks on a SEF URL and it needs to provide back the non SEF URL for it), it just have to query the database to get it.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum