Shorter Product URL

  • Posts: 220
  • Thank you received: 12
5 years 7 months ago #297506

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.36

Hi,

My client wants his product URLs to be shorter.

Currently, this is in the SEO settings:



So the product URL is domain.com/index.php/X/product/00975

Could this be changed to domain.com/index.php/00975 ?

Changing the canonical URL does not work.

Thank you!

Attachments:
Last edit: 4 years 2 months ago by joshualdouglas.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
5 years 7 months ago #297513

Hi,

The canonical URL is a meta data that you can use to tell search engines what should be the URL to index for a product.
It's not meant to replace SEF extensions like SH404SEF which allow you to create aliases of URLs and thus use any kind of URL you want.
However, having domain.com/index.php/00975 instead of domain.com/index.php/wonkyzebra/product/00975 is possible without any SEF extension and URL aliases.
For that you need to have two things:
- you need to empty the setting "product SEF name" setting of the HikaShop configuration. That way, the "product" part of the URL will be removed (when the URLs are generated by HikaShop, and you can remove it from the canonical URL).
- you need to have the menu item wonkyzebra as the homepage of your website. This part is handled by Joomla, not HikaShop, and the only way Joomla will remove that menu item alias is if the menu item is the default one.

The following user(s) said Thank You: joshualdouglas

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

  • Posts: 220
  • Thank you received: 12
5 years 7 months ago #297578

Hi, thank you for your quick reply.

Where do I empty the setting "product SEF name" setting of the HikaShop configuration?

Thanks.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
5 years 7 months ago #297579

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: joshualdouglas

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

  • Posts: 220
  • Thank you received: 12
5 years 7 months ago #297615

Perfect! Thank you.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum