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

#   Category Hierarchy URL

##

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

Less More

- Posts: 28
- Thank you received: 0
-
-

9 years 3 months ago [\#274076](#274076) by [ashx88](/forum/user/48374-ashx88 "View ashx88's Profile")  *[Category Hierarchy URL](/forum/25-install-update/891156-category-hierarchy-url#274076 "Hi,  In the product pages, I would like to display my URLs in their respective category like this: mydomain.com/category-name/product-name  Currently they are as: mydomain.com/store-name/product-name, when I clicked on a product through the category listing.  I followed Nicholas's reply at this topic . Creating a hikashop menu and linking my associated category with it, then entering the URL in the &quot;canonical url&quot; field of the category. But cant get it to work with the settings (see attached).  Any ideas?")* was created by *[ashx88](/forum/user/48374-ashx88 "View ashx88's Profile")*

Hi,

In the product pages, I would like to display my URLs in their respective category like this: mydomain.com/category-name/product-name

Currently they are as: mydomain.com/store-name/product-name, when I clicked on a product through the category listing.

I followed Nicholas's reply at this topic [ here](https://www.hikashop.com/support/forum/product-category-display/878585-sef-url-creation-for-products-and-categories.html). Creating a hikashop menu and linking my associated category with it, then entering the URL in the "canonical url" field of the category. But cant get it to work with the settings (see attached).

Any ideas?

- [ ![sefurl.PNG](/forum/attachment/39211) ](/forum/attachment/39211 "sefurl.PNG") [ ](/forum/attachment/39211?download=1 "sefurl.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MTE1Ni1jYXRlZ29yeS1oaWVyYXJjaHktdXJsP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

9 years 3 months ago [\#274082](#274082) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Category Hierarchy URL](/forum/25-install-update/891156-category-hierarchy-url#274082 "Hi,  In the product pages, I would like to display my URLs in their respective category like this: mydomain.com/category-name/product-name  Currently they are as: mydomain.com/store-name/product-name, when I clicked on a product through the category listing.  I followed Nicholas's reply at this topic . Creating a hikashop menu and linking my associated category with it, then entering the URL in the &quot;canonical url&quot; field of the category. But cant get it to work with the settings (see attached).  Any ideas?")*

Hi,

You should indeed create a menu item with the name of the category as "alias" of the menu item and select that category as main category of the menu item.
Then, in the category settings you can enter the canonical URL /category-name and in the product you can enter the canonical URL /category-name/product-name and it should automatically use these in the listings unless you have some cache on the pages.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MTE1Ni1jYXRlZ29yeS1oaWVyYXJjaHktdXJsP3RtcGw9bWFya2Rvd24=) 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.063 seconds

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