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

#   Canonical url on second language

##

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

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

11 years 7 months ago [\#197742](#197742) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[Canonical url on second language](/forum/2-general-talk-about-hikashop/874907-canonical-url-on-second-language?start=20#197742 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28  Hi, i have a strange behaviour on the canonical url on the second Language. I explain better. I have Falang. First Language is italian, the second one is english. On confuguration-features-slef url option- i have &quot;use canonical url if specified&quot;  a category is called &quot;Cereali e simili&quot; - alias &quot;cereali-e-simili&quot; - canonical url &quot;/negozio-online/cereali-e-simili&quot; but the url i have on frontend is &quot;  www.lacasettabio.it/negozio-online/categoria/cereali-e-simili &quot; Why there is &quot;/categoria/&quot; ? On all the other categories i have the same setting and there is not &quot;/categoria/&quot; you can see all the categories here:   www.lacasettabio.it/negozio-online  Then, If you switch to english Language to the url   www.lacasettabio.it/en/online-shop  and click on &quot;cereals and similar&quot; you have a wrong page. i check on the category translation and, on english canonical url i have &quot;/en/online-shop/wheat&quot; - alias &quot;wheat&quot;. If i delete the canonical url, click on &quot;OK&quot; and save the category, when i open again the english category, i have always that canonical url &quot;/en/online-shop/wheat&quot;. It is not been deleted. Why?")*

Hi,
now i tryed the OSsearch component instead of Xmap but the result is the same: it creates a sitemap with alias english urls that do not work.
I mean that those urls go to a product not found.
So, i'm still waiting your support!
But, meanwhile, could you tell me if on your end you have the same issue?
I checked on your demo site but there is not enabled the Language filter.
So I'm not be able to see if you have the same issue than me.
Thanks
regards

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

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

11 years 7 months ago [\#197925](#197925) 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 on second language](/forum/2-general-talk-about-hikashop/874907-canonical-url-on-second-language?start=20#197925 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28  Hi, i have a strange behaviour on the canonical url on the second Language. I explain better. I have Falang. First Language is italian, the second one is english. On confuguration-features-slef url option- i have &quot;use canonical url if specified&quot;  a category is called &quot;Cereali e simili&quot; - alias &quot;cereali-e-simili&quot; - canonical url &quot;/negozio-online/cereali-e-simili&quot; but the url i have on frontend is &quot;  www.lacasettabio.it/negozio-online/categoria/cereali-e-simili &quot; Why there is &quot;/categoria/&quot; ? On all the other categories i have the same setting and there is not &quot;/categoria/&quot; you can see all the categories here:   www.lacasettabio.it/negozio-online  Then, If you switch to english Language to the url   www.lacasettabio.it/en/online-shop  and click on &quot;cereals and similar&quot; you have a wrong page. i check on the category translation and, on english canonical url i have &quot;/en/online-shop/wheat&quot; - alias &quot;wheat&quot;. If i delete the canonical url, click on &quot;OK&quot; and save the category, when i open again the english category, i have always that canonical url &quot;/en/online-shop/wheat&quot;. It is not been deleted. Why?")*

Hi,

You said that it creates a sitemap with alias in english. But the xmap plugin we propose for free on our website will use the canonical URL in priority. So if you set only valid URLs in the canonical URL field of all the languages of your products, then it's not possible that you get invalid URLs to your products in the site map.
That's what I told you to do in my previous post in this thread, and this hasn't changed.
So no, I don't have the issue on my end.
Please follow my advice and set valid URLs in the canonical URLs of the products and it will work.

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

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