How to make a product URL just have

  • Posts: 220
  • Thank you received: 12
7 years 10 months ago #273712

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

Hello,

I would like my product URLs to just have a product code after the "/".

In the product configuration I have made the alias "00583".

This made the URL: xxxxxxx.co.uk/index.php/shop/product/161-00583-

Where is it picking up the "161-" and the extra "-" at the end and how do I remove this?

Thank you,
J.

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

  • Posts: 26233
  • Thank you received: 4036
  • MODERATOR
7 years 10 months ago #273714

Hello,

I think that you had an extra blank character and that's why you got that final "-".
You can edit the canonical URL afterwards in the product edition page : www.hikashop.com/support/documentation/2...roduct-form.html#seo

And for SEF rules, it's in the configuration :
www.hikashop.com/support/documentation/5...ig.html#features_sef

But please not that even if you remove the product id from the URL ; by having an alias starting by a digit, it will add the letter "p" because if it stars with a number, that number is consider to be the product id : so you must not start with a digit.

Regards,


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
7 years 9 months ago #274566

Thank you!

The following user(s) said Thank You: Philip

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

Time to create page: 0.057 seconds
Powered by Kunena Forum