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

#   Can't understand path in the URL

##

- **[altrasoluzione](/forum/user/46157-altrasoluzione "View altrasoluzione's Profile")**
- [![altrasoluzione's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46157.png)](/forum/user/46157-altrasoluzione "View altrasoluzione's Profile") Topic Author
- [ Offline](/forum/user/46157-altrasoluzione)

Less More

- Posts: 33
- Thank you received: 1
-
- [](https://www.altrasoluzione.com)
-

7 years 2 months ago [\#310886](#310886) by [altrasoluzione](/forum/user/46157-altrasoluzione "View altrasoluzione's Profile")  *[Can't understand path in the URL](/forum/26-product-category-display/898282-cant-understand-path-in-the-url#310886 "-- HikaShop version -- : 4.2.1  Hi, how to obtain a simple, logical &quot;/category/subcategory1/subcategory2/subcategoryN/product&#95;id&quot; path?  I cannot understand how HikaShop builds the URL, which either is missing all subcategories or adds category&#95;pathway suffix, depending on the &quot;Simplified breadcrumbs&quot; setting.  Would you help me to understand, please? Thank you very much. Kind regards")* was created by *[altrasoluzione](/forum/user/46157-altrasoluzione "View altrasoluzione's Profile")*

-- HikaShop version -- : 4.2.1

Hi,
how to obtain a simple, logical "/**category**/**subcategory1**/**subcategory2**/**subcategoryN**/**product\_id**" path?

I cannot understand how HikaShop builds the URL, which either is missing all subcategories or adds category_pathway suffix, depending on the "Simplified breadcrumbs" setting.

Would you help me to understand, please?
Thank you very much.
Kind regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTgyODItY2FudC11bmRlcnN0YW5kLXBhdGgtaW4tdGhlLXVybD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

7 years 2 months ago [\#310941](#310941) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't understand path in the URL](/forum/26-product-category-display/898282-cant-understand-path-in-the-url#310941 "-- HikaShop version -- : 4.2.1  Hi, how to obtain a simple, logical &quot;/category/subcategory1/subcategory2/subcategoryN/product&#95;id&quot; path?  I cannot understand how HikaShop builds the URL, which either is missing all subcategories or adds category&#95;pathway suffix, depending on the &quot;Simplified breadcrumbs&quot; setting.  Would you help me to understand, please? Thank you very much. Kind regards")*

Hi,

HikaShop doesn't build the URL based on the categories tree.
It builds the URL like this:
alias-of-main-menu-item/alias-of-child-menu-item/product-sef-name/product_id-product_alias
The part "alias-of-main-menu-item/alias-of-child-menu-item" is generated by joomla based on your menu item structure.
The part "product-sef-name" comes from what you have in the "product sef name" setting of the HikaShop configuration.
And then you have the product id and the product alias.
So if you want the URL to reflect your category tree structure, you have two options:
- You create menu items in the Joomla menu manager to reflect your category tree structure. In each menu item, you select the corresponding category in the "main category" setting. Then, you can empty the "product sef name" setting in the HikaShop configuration and you'll get a result similar to what you want.
- You use a SEF URL alias system like there is in sh404SEF or other SEF extensions.
With it, you can create a SEF URL alias for each product page with whatever text you want in the SEFed URL so you have total control on how the SEFed URL looks like.

The following user(s) said Thank You: [altrasoluzione](/forum/user/46157-altrasoluzione "View altrasoluzione's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTgyODItY2FudC11bmRlcnN0YW5kLXBhdGgtaW4tdGhlLXVybD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.047 seconds

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