[Skip to main content](#vessel-content)

#   short product Url for Hikashop

##

- **[foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")**
- [![foo0z0ool's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile") Topic Author
- [ Offline](/forum/user/60378-foo0z0ool)

Less More

- Posts: 30
- Thank you received: 1
-
-

2 years 10 months ago [\#357619](#357619) by [foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")  *[short product Url for Hikashop](/forum/2-general-talk-about-hikashop/907467-short-product-url-for-hikashop#357619 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.4.1 -- PHP version -- : 8.1  hi i so much search about this problem but dont find any answer im so confused  for 1 product in my site i have 2-3 or sometime 4 url address !!! what happen !  for example : this is my test site for show u if i open my product from dj-mega-menu i receive this url   avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro  if i open my product from some slider component i receive this url   avisapro.ir/download/component/hikashop/product/p4ai-pro  if i open my product from joomla menu i receive this url avisapro.ir/download/joom-ai/product/p4ai-pro  but i need just this url avisapro.ir/download/product/p4ai-pro ( short and optimize ) how i can remove all url and just make this url  im confused how i have lot of url for just 1 product")* was created by *[foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")*

-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.4.1
-- PHP version -- : 8.1

hi
i so much search about this problem but dont find any answer
im so confused

for 1 product in my site i have 2-3 or sometime 4 url address !!!
what happen !

for example :
this is my test site for show u
if i open my product from dj-mega-menu i receive this url
[ avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro](http://avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro)
if i open my product from some slider component i receive this url
[ avisapro.ir/download/component/hikashop/product/p4ai-pro](http://avisapro.ir/download/component/hikashop/product/p4ai-pro)
if i open my product from joomla menu i receive this url
avisapro.ir/download/joom-ai/product/p4ai-pro

but i need just this url
avisapro.ir/download/product/p4ai-pro ( short and optimize )
how i can remove all url and just make this url

im confused how i have lot of url for just 1 product

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNzQ2Ny1zaG9ydC1wcm9kdWN0LXVybC1mb3ItaGlrYXNob3A/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

2 years 10 months ago [\#357622](#357622) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[short product Url for Hikashop](/forum/2-general-talk-about-hikashop/907467-short-product-url-for-hikashop#357622 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.4.1 -- PHP version -- : 8.1  hi i so much search about this problem but dont find any answer im so confused  for 1 product in my site i have 2-3 or sometime 4 url address !!! what happen !  for example : this is my test site for show u if i open my product from dj-mega-menu i receive this url   avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro  if i open my product from some slider component i receive this url   avisapro.ir/download/component/hikashop/product/p4ai-pro  if i open my product from joomla menu i receive this url avisapro.ir/download/joom-ai/product/p4ai-pro  but i need just this url avisapro.ir/download/product/p4ai-pro ( short and optimize ) how i can remove all url and just make this url  im confused how i have lot of url for just 1 product")*

Hi,

In the product settings, enter the URL you want in the "canonical URL" field.
Then, set the "force canonical URLs on listing" setting to "use canonical URL if specified" in the HikaShop configuration.
Then different products listings displayed by HikaShop will now use that canonical URL instead of dynamically generating a URL based on their location.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNzQ2Ny1zaG9ydC1wcm9kdWN0LXVybC1mb3ItaGlrYXNob3A/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")**
- [![foo0z0ool's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile") Topic Author
- [ Offline](/forum/user/60378-foo0z0ool)

Less More

- Posts: 30
- Thank you received: 1
-
-

2 years 10 months ago [\#357627](#357627) by [foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")  Replied by *[foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")* on topic *[short product Url for Hikashop](/forum/2-general-talk-about-hikashop/907467-short-product-url-for-hikashop#357627 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.4.1 -- PHP version -- : 8.1  hi i so much search about this problem but dont find any answer im so confused  for 1 product in my site i have 2-3 or sometime 4 url address !!! what happen !  for example : this is my test site for show u if i open my product from dj-mega-menu i receive this url   avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro  if i open my product from some slider component i receive this url   avisapro.ir/download/component/hikashop/product/p4ai-pro  if i open my product from joomla menu i receive this url avisapro.ir/download/joom-ai/product/p4ai-pro  but i need just this url avisapro.ir/download/product/p4ai-pro ( short and optimize ) how i can remove all url and just make this url  im confused how i have lot of url for just 1 product")*

i do all but i receive 404 on page

[ ![01&#95;2023-12-17.JPG](/forum/attachment/58424) ](/forum/attachment/58424 "01&#95;2023-12-17.JPG")

[ ![02&#95;2023-12-17.JPG](/forum/attachment/58425) ](/forum/attachment/58425 "02&#95;2023-12-17.JPG")

[ ![03&#95;2023-12-17.JPG](/forum/attachment/58426) ](/forum/attachment/58426 "03&#95;2023-12-17.JPG")

- [ ![01&#95;2023-12-17.JPG](/forum/attachment/58424) ](/forum/attachment/58424 "01&#95;2023-12-17.JPG") [ ](/forum/attachment/58424?download=1 "01&#95;2023-12-17.JPG")
- [ ![02&#95;2023-12-17.JPG](/forum/attachment/58425) ](/forum/attachment/58425 "02&#95;2023-12-17.JPG") [ ](/forum/attachment/58425?download=1 "02&#95;2023-12-17.JPG")
- [ ![03&#95;2023-12-17.JPG](/forum/attachment/58426) ](/forum/attachment/58426 "03&#95;2023-12-17.JPG") [ ](/forum/attachment/58426?download=1 "03&#95;2023-12-17.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNzQ2Ny1zaG9ydC1wcm9kdWN0LXVybC1mb3ItaGlrYXNob3A/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

2 years 10 months ago [\#357631](#357631) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[short product Url for Hikashop](/forum/2-general-talk-about-hikashop/907467-short-product-url-for-hikashop#357631 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.4.1 -- PHP version -- : 8.1  hi i so much search about this problem but dont find any answer im so confused  for 1 product in my site i have 2-3 or sometime 4 url address !!! what happen !  for example : this is my test site for show u if i open my product from dj-mega-menu i receive this url   avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro  if i open my product from some slider component i receive this url   avisapro.ir/download/component/hikashop/product/p4ai-pro  if i open my product from joomla menu i receive this url avisapro.ir/download/joom-ai/product/p4ai-pro  but i need just this url avisapro.ir/download/product/p4ai-pro ( short and optimize ) how i can remove all url and just make this url  im confused how i have lot of url for just 1 product")*

Hi,

The URL you enter in the "canonical URL" field needs to be a valid one.
If you get a 404 error, it means the URL you entered is not a valid one.

For the URL "download/product/4ai-pro" to be valid you need to:
- have a menu item of the type product listing or category listing with the alias "download"
- have "product" in the "product SEF name" setting of HikaShop
- have "4ai-pro" as alias of your product

From what I can see, it seems that the problem is with the first point.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNzQ2Ny1zaG9ydC1wcm9kdWN0LXVybC1mb3ItaGlrYXNob3A/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")**
- [![foo0z0ool's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile") Topic Author
- [ Offline](/forum/user/60378-foo0z0ool)

Less More

- Posts: 30
- Thank you received: 1
-
-

2 years 10 months ago [\#357639](#357639) by [foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")  Replied by *[foo0z0ool](/forum/user/60378-foo0z0ool "View foo0z0ool's Profile")* on topic *[short product Url for Hikashop](/forum/2-general-talk-about-hikashop/907467-short-product-url-for-hikashop#357639 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.4.1 -- PHP version -- : 8.1  hi i so much search about this problem but dont find any answer im so confused  for 1 product in my site i have 2-3 or sometime 4 url address !!! what happen !  for example : this is my test site for show u if i open my product from dj-mega-menu i receive this url   avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro  if i open my product from some slider component i receive this url   avisapro.ir/download/component/hikashop/product/p4ai-pro  if i open my product from joomla menu i receive this url avisapro.ir/download/joom-ai/product/p4ai-pro  but i need just this url avisapro.ir/download/product/p4ai-pro ( short and optimize ) how i can remove all url and just make this url  im confused how i have lot of url for just 1 product")*

hi nicolas

1- my main domain name is ( avisapro.ir/download ) actually download is my subfolder

2- u say i must do this

> \- have a menu item of the type product listing or category listing with the alias "download"
> \- have "product" in the "product SEF name" setting of HikaShop
> \- have "4ai-pro" as alias of your product

i do before
menu product listing : joomla-ai
product SEF name : product
product alias : 4ai-pro

---

if i do this i receive this address
[ avisapro.ir/download/joom-ai/product/p4ai-pro](http://avisapro.ir/download/joom-ai/product/p4ai-pro)
so why i must use "canonical URL" if in "canonical URL" i must do all address and i cant short it ?
i have this address before from joomla menu
read this from my question

> if i open my product from joomla menu i receive this url
> [ avisapro.ir/download/joom-ai/product/p4ai-pro](http://avisapro.ir/download/joom-ai/product/p4ai-pro)

i say i want this address :
[ avisapro.ir/download/product/p4ai-pro](http://avisapro.ir/download/product/p4ai-pro) ( short and optimize )

i think with canoniacal URL just my half multi URL fix maybe if i open product from joomla menu or dj-mega menu this address some
and
[ avisapro.ir/download/component/hikashop/product/p4ai-pro](http://avisapro.ir/download/component/hikashop/product/p4ai-pro) ( never fix because come from module )

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNzQ2Ny1zaG9ydC1wcm9kdWN0LXVybC1mb3ItaGlrYXNob3A/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

2 years 10 months ago [\#357644](#357644) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[short product Url for Hikashop](/forum/2-general-talk-about-hikashop/907467-short-product-url-for-hikashop#357644 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.4.1 -- PHP version -- : 8.1  hi i so much search about this problem but dont find any answer im so confused  for 1 product in my site i have 2-3 or sometime 4 url address !!! what happen !  for example : this is my test site for show u if i open my product from dj-mega-menu i receive this url   avisapro.ir/download/joomla-extension/joom-ai/product/p4ai-pro  if i open my product from some slider component i receive this url   avisapro.ir/download/component/hikashop/product/p4ai-pro  if i open my product from joomla menu i receive this url avisapro.ir/download/joom-ai/product/p4ai-pro  but i need just this url avisapro.ir/download/product/p4ai-pro ( short and optimize ) how i can remove all url and just make this url  im confused how i have lot of url for just 1 product")*

Hi,

The role of the "canonical URL" option is not to shorten URLs. The role of this option is to use the same URL on all products listings.
The URL you enter as canonical URL needs to be a valid URL of the product.
Getting [ avisapro.ir/download/product/p4ai-pro](http://avisapro.ir/download/product/p4ai-pro) is possible.
For this to happen, you need to have a products listing menu item or a categories listing menu item as the homepage. Because in Joomla, that's the only way for the alias of the menu item to not be used.

If you want to be able to have URLs which don't require to match with how Joomla handle URLs, then it's possible but it requires the use of a SEF extension like 4SEF. 4SEF will store the SEF and non SEF URLs together in the database so that it can revert it when you click on the link based on what is in its database. That way, the SEF URL can be whatever you want, regardless of your menu items structure, your product alias, etc.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNzQ2Ny1zaG9ydC1wcm9kdWN0LXVybC1mb3ItaGlrYXNob3A/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.082 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
