Canonical url on second language

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #190305

-- 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 "use canonical url if specified"

a category is called "Cereali e simili" - alias "cereali-e-simili" - canonical url "/negozio-online/cereali-e-simili"
but the url i have on frontend is " www.lacasettabio.it/negozio-online/categoria/cereali-e-simili "
Why there is "/categoria/" ? On all the other categories i have the same setting and there is not "/categoria/"
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 "cereals and similar" you have a wrong page.
i check on the category translation and, on english canonical url i have "/en/online-shop/wheat" - alias "wheat". If i delete the canonical url, click on "OK" and save the category, when i open again the english category, i have always that canonical url "/en/online-shop/wheat". It is not been deleted.
Why?


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 82721
  • Thank you received: 13338
  • MODERATOR
9 years 8 months ago #190322

Hi,

1. You must have added the www.lacasettabio.it/negozio-online/categoria/cereali-e-simili URL as canonical URL translation in the Italian translation of your product. So check on that.

2. Can you do a screenshot of the product settings ? of it's translations popups ? of how the online shop menu item is configured ?

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #190416

Hi Nicolas,
thanks for your help.
i did not added the the www.lacasettabio.it/negozio-online/categoria/cereali-e-simili canonical url.
Here you are the screenshots


my site with Hikashop
www.lacasettabio.it
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #191098

Hi,
any news for me?


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #191578

Hi,
i fixed by myself :)
It was a menu item missing; sorry!


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
9 years 8 months ago #191582

Hi,

Good to know that your issue is fixed.
I checked it but I didn't have any idea so I let the thread open in case another member of the support team had an idea.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #191643

Hi,
now if i don't mind i'd like to have further help.
- I have the Hihashop Sef url option set: use canonical url if specified
- my first Language is italian; the second one is english.
- on each product i set a canonical url; and it works.
The issue is on the second Language (english)
I'm going to explain with an example:
- The italian category page url of the shop is: www.lacasettabio.it/negozio-online/peperoncini-piccanti
- The english category pageurl of the shop is: www.lacasettabio.it/en/online-shop/chilli-peppers
-This is an url product with the italian language: www.lacasettabio.it/negozio-online/peper...bhut-jolokia-tritato
On the translation page of this produt (english) i have set this alias: "bhut-jolokia-chilli-pepper-crushed"
if i leave empty the english canonical url, when i click on this product (extremely hot chilli pepper bhut jolokia for sale on line) i have the product on italian Language.
if i click on the english flag to switch it on english i can see the translation but i have an url half english and half italian: www.lacasettabio.it/en/online-shop/chill...bhut-jolokia-tritato
If i set the english canonical url with that url it works.
My issue is:
why the second part of the url is on italian?
How can i have it on english like the alias?
I suppose that the url should be like this one: www.lacasettabio.it/en/online-shop/chill...hilli-pepper-crushed
But this one does not work!


my site with Hikashop
www.lacasettabio.it
Last edit: 9 years 8 months ago by lacasetta.

Please Log in or Create an account to join the conversation.

  • Posts: 82721
  • Thank you received: 13338
  • MODERATOR
9 years 8 months ago #191666

Hi,

Try to switch the "alias auto fill" option of the SEF section of the HikaShop configuration and see if that helps.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #191709

Hi, thanks for your help.
Unfortunatelly it is already on yes!
I send you a screenshot about this.
regards


my site with Hikashop
www.lacasettabio.it
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82721
  • Thank you received: 13338
  • MODERATOR
9 years 8 months ago #191752

Hi,

Try to turn it off.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #191903

Hi,
i turned it off but anything is changed.
Also i noticed that if i make a changement on the second Language hikashop popup after the first time it does not change.
But with Falang i am be able to change them.
By the way, summing up:
now the alias auto fill is off (no)
if i leave the alias empty and the canonical url empty the link of the english product is in italian (first Language)
if i write something on alias and leave the canonical url empty the link of the english product is in italian (first Language)
On frontend if i switch the Language on english i have the product translated but the url is half in english and half in italian.
:(


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #191905

I made one more test:
i set the "Force canonical urls on listings" on "use canonical url and generate it if missing"
I write something on alias of the second Language product and leave the canonical url empty.
Nothing! the same issue!
:sick:


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #192205

One more test.
I desabled JCH optimize plugin
I desabled all Falang component and plugins
the "Force canonical urls on listings" is Always on "use canonical url and generate it if missing"
on the hikashop english ( second Language) product pop up i set the canonical url empty
saved
nothing
Hikashop does not generate the canonical url on the second Language.


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #192212

But,
on your end, does hikashop generate the canonical urls on the second Language?


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 8 months ago #192639

And more...
I have sitemaps and it generates the exact urls; you can see it here:
www.lacasettabio.it/en/?option=com_xmap&...&tmpl=component&id=1
But all the products urls does not work!!!!

So i have all my indexing site upset
It needs urgent resolution!
Please.


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 7 months ago #193164

Hi, i suppose that anyone aswer me because anyone have an idea.
So, today i decide to update from joomla 2.5 to 3.4; i hope that this is better for me and maybe could fix the issue.
But unfortunatelly the update failed with the website throwing a blank page with no errors.
So now i restored it by backup and i have newly joomla 2.5.
Do you do the work to update joomla?
I'd like a developer that is serious and trustworthy as you.


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 82721
  • Thank you received: 13338
  • MODERATOR
9 years 7 months ago #193193

Hi,

We don't do Joomla website migrations/setup.
We have already enough on our plate with the support and improving HikaShop as you can see.

Now regarding your issue:
It's normal that HikaShop doesn't generate the translated canonical URLs. That capability has not been implemented. It's up to you to enter the URL you want in the canonical URL field of each language of each product.
So if the xmap URLs are what you want, then simply enter the xmap URLs in the canonical field of the languages of your products.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 7 months ago #193220

Hi,
i already tryed like you said but it does not work.
On frontend i have the error message "Product not found"


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 7 months ago #195763

Hi,
maybe you fogot me?
I have the english on line shop urls that do not work.
I sum my issue up:
-english Language xmap shows me the english urls but they send me to products not found error.
-without english canonical url on every products when i go on the english category products list i have an italian link on every products

PS: i am Always on joomla 2.5. I'm waiting for a freelancer to migrate


my site with Hikashop
www.lacasettabio.it
Last edit: 9 years 7 months ago by lacasetta.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
9 years 7 months ago #196007

Hi,
i've migrated a clone site to joomla 3.4 .
I have the same identical issue.
So i need your support, please!!!


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum