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

#   rel=canonical

##

- **[RobertC](/forum/user/21042-robertc "View RobertC's Profile")**
- [![RobertC's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar21042.jpg)](/forum/user/21042-robertc "View RobertC's Profile") Topic Author
- [ Offline](/forum/user/21042-robertc)

Less More

- Posts: 32
- Thank you received: 3
-
-

11 years 3 weeks ago [\#217661](#217661) by [RobertC](/forum/user/21042-robertc "View RobertC's Profile")  *[rel=canonical](/forum/26-product-category-display/879924-rel-canonical#217661 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.13  Hi. 1. rel=canonical How should I short the categories at this tag.   www.mysite/category/firstcategory    www.mysite/category/firstcategory/secondcategory  or   www.mysite/category/secondcategory  I am using sort URLs ( firstcategory.html ) I have multilingual site so in translation I am doing like this. ( firstcategory.html ) ( el/firstcategory.html )  Thank you.")* was created by *[RobertC](/forum/user/21042-robertc "View RobertC's Profile")*

-- HikaShop version -- : HikaShop Business: 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.4.13

Hi.
1. rel=canonical
How should I short the categories at this tag.
[ www.mysite/category/firstcategory](https://www.mysite/category/firstcategory)
[ www.mysite/category/firstcategory/secondcategory](https://www.mysite/category/firstcategory/secondcategory)
or [ www.mysite/category/secondcategory](https://www.mysite/category/secondcategory)

I am using sort URLs ( firstcategory.html )
I have multilingual site so in translation I am doing like this.
( firstcategory.html ) ( el/firstcategory.html )

Thank you.

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

11 years 3 weeks ago [\#217663](#217663) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[rel=canonical](/forum/26-product-category-display/879924-rel-canonical#217663 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.13  Hi. 1. rel=canonical How should I short the categories at this tag.   www.mysite/category/firstcategory    www.mysite/category/firstcategory/secondcategory  or   www.mysite/category/secondcategory  I am using sort URLs ( firstcategory.html ) I have multilingual site so in translation I am doing like this. ( firstcategory.html ) ( el/firstcategory.html )  Thank you.")*

Hi,

I'm sorry but I don't understand your question.
What is the link between shortening the URLs of your categories and "rel=canonical" ?
If you want to shorten URLs, usually, you use a SEF extension with URL alias support like SH404SEF.

The following user(s) said Thank You: [RobertC](/forum/user/21042-robertc "View RobertC's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk5MjQtcmVsLWNhbm9uaWNhbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[RobertC](/forum/user/21042-robertc "View RobertC's Profile")**
- [![RobertC's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar21042.jpg)](/forum/user/21042-robertc "View RobertC's Profile") Topic Author
- [ Offline](/forum/user/21042-robertc)

Less More

- Posts: 32
- Thank you received: 3
-
-

11 years 3 weeks ago [\#217694](#217694) by [RobertC](/forum/user/21042-robertc "View RobertC's Profile")  Replied by *[RobertC](/forum/user/21042-robertc "View RobertC's Profile")* on topic *[rel=canonical](/forum/26-product-category-display/879924-rel-canonical#217694 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.13  Hi. 1. rel=canonical How should I short the categories at this tag.   www.mysite/category/firstcategory    www.mysite/category/firstcategory/secondcategory  or   www.mysite/category/secondcategory  I am using sort URLs ( firstcategory.html ) I have multilingual site so in translation I am doing like this. ( firstcategory.html ) ( el/firstcategory.html )  Thank you.")*

The question is which is best way to declare at rel=canonical tag the category and subcategory
Should we had to add main category at the canonical link?
Or Hikashop will add the word "category" before of each category

e.x. [ www.mysite.com/category/maincategory](http://www.mysite.com/category/maincategory)

option 1 [ www.mysite.com/category/maincategory/subcategory](http://www.mysite.com/category/maincategory/subcategory)
option 2 [ www.mysite.com/category/subcategory](http://www.mysite.com/category/subcategory)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk5MjQtcmVsLWNhbm9uaWNhbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 3 weeks ago [\#217734](#217734) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[rel=canonical](/forum/26-product-category-display/879924-rel-canonical#217734 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.13  Hi. 1. rel=canonical How should I short the categories at this tag.   www.mysite/category/firstcategory    www.mysite/category/firstcategory/secondcategory  or   www.mysite/category/secondcategory  I am using sort URLs ( firstcategory.html ) I have multilingual site so in translation I am doing like this. ( firstcategory.html ) ( el/firstcategory.html )  Thank you.")*

Hi,

By default it will be as the option 2.

The following user(s) said Thank You: [RobertC](/forum/user/21042-robertc "View RobertC's Profile")

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

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