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

#   Canonical url with multiple sites

##

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

Less More

- Posts: 117
- Thank you received: 6
-
-
-
-

6 years 11 months ago [\#313905](#313905) by [Formidog](/forum/user/33871-formidog "View Formidog's Profile")  *[Canonical url with multiple sites](/forum/26-product-category-display/898835-canonical-url-with-multiple-sites#313905 "-- url of the page with the problem -- : = -- HikaShop version -- : 4.2.2  Good morning Nicolas, good morning everybody  I have a set-up with multiple sites The general content differs for each (regional) site but the shops come from one hikashop database. I use Mighty Sites for ths (works well and the support is great)  Now.... What to do with the canonical url  If I use this ALL sites will have the same canonical url for a product  Is there a way have canonical urls for each site?  Dick")* was created by *[Formidog](/forum/user/33871-formidog "View Formidog's Profile")*

-- url of the page with the problem -- : =
-- HikaShop version -- : 4.2.2

Good morning Nicolas, good morning everybody

I have a set-up with multiple sites
The general content differs for each (regional) site but the shops come from one hikashop database.
I use Mighty Sites for ths (works well and the support is great)

Now....
What to do with the canonical url

If I use this ALL sites will have the same canonical url for a product

Is there a way have canonical urls for each site?

Dick

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

6 years 11 months ago [\#313908](#313908) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Canonical url with multiple sites](/forum/26-product-category-display/898835-canonical-url-with-multiple-sites#313908 "-- url of the page with the problem -- : = -- HikaShop version -- : 4.2.2  Good morning Nicolas, good morning everybody  I have a set-up with multiple sites The general content differs for each (regional) site but the shops come from one hikashop database. I use Mighty Sites for ths (works well and the support is great)  Now.... What to do with the canonical url  If I use this ALL sites will have the same canonical url for a product  Is there a way have canonical urls for each site?  Dick")*

Hi,

In the canonical URL field, you can enter a relative URL.
So instead of Code:

https://www.hikashop.com/support/forum.html

, you would enter just Code:

/support/forum.html

.
So provided that the menu structure is the same for all the websites, the canonical URL will get the correct domain name automatically prepended to it and the canonical URL should be ok on all the websites.

I suppose the hikashop_product table could be duplicated per website in MightySites so that you would have one canonical URL per product per website, but then you would have to keep track of the product information across the websites and it would be problematic if you need stock management on them as the product_quantity column wouldn't be shared anymore.
So I would recommend to check with MightySites what could be done knowing all what I wrote above.

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

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

Less More

- Posts: 117
- Thank you received: 6
-
-
-
-

6 years 11 months ago [\#313920](#313920) by [Formidog](/forum/user/33871-formidog "View Formidog's Profile")  Replied by *[Formidog](/forum/user/33871-formidog "View Formidog's Profile")* on topic *[Canonical url with multiple sites](/forum/26-product-category-display/898835-canonical-url-with-multiple-sites#313920 "-- url of the page with the problem -- : = -- HikaShop version -- : 4.2.2  Good morning Nicolas, good morning everybody  I have a set-up with multiple sites The general content differs for each (regional) site but the shops come from one hikashop database. I use Mighty Sites for ths (works well and the support is great)  Now.... What to do with the canonical url  If I use this ALL sites will have the same canonical url for a product  Is there a way have canonical urls for each site?  Dick")*

Thanks for the answer

The menu structure is NOT the same for all websites

The "master" has a different structure
All "slaves" are the same
And ALL Hikashop tables are shared from the master to the slaves

So... if the canocical urls are relative... and have formats like
/product-name
/menu-item-name
then I will be "safe"... I reckon

I fill the tables thru Filemaker and filemaker can generate the canonical urls

I have checked with Alterbrains but haven'r heard from them yet

Thanks

Dick

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

6 years 11 months ago [\#313933](#313933) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Canonical url with multiple sites](/forum/26-product-category-display/898835-canonical-url-with-multiple-sites#313933 "-- url of the page with the problem -- : = -- HikaShop version -- : 4.2.2  Good morning Nicolas, good morning everybody  I have a set-up with multiple sites The general content differs for each (regional) site but the shops come from one hikashop database. I use Mighty Sites for ths (works well and the support is great)  Now.... What to do with the canonical url  If I use this ALL sites will have the same canonical url for a product  Is there a way have canonical urls for each site?  Dick")*

Hi,

Note also that starting from next version of HikaShop (to be released in January/February), you'll be able to enter a translation key in the canonical URL field and you'll then be able to have a different canonical URL per language by adding the translation key with it's translation in each language override file.
So if the language override file is not shared by the different slave websites (the file language/overrides/en-GB.override.ini for English), you would be able to have different canonical URLs for different slave websites.

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

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

Less More

- Posts: 117
- Thank you received: 6
-
-
-
-

6 years 10 months ago [\#314457](#314457) by [Formidog](/forum/user/33871-formidog "View Formidog's Profile")  Replied by *[Formidog](/forum/user/33871-formidog "View Formidog's Profile")* on topic *[Canonical url with multiple sites](/forum/26-product-category-display/898835-canonical-url-with-multiple-sites#314457 "-- url of the page with the problem -- : = -- HikaShop version -- : 4.2.2  Good morning Nicolas, good morning everybody  I have a set-up with multiple sites The general content differs for each (regional) site but the shops come from one hikashop database. I use Mighty Sites for ths (works well and the support is great)  Now.... What to do with the canonical url  If I use this ALL sites will have the same canonical url for a product  Is there a way have canonical urls for each site?  Dick")*

Thanks for tha answer, Nicolas... I'll hold my horses until after next release
![;-)](/media/kunena/emoticons/24.png ";-)")

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

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