Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong url #3

Open
kai1083 opened this issue Jan 9, 2015 · 5 comments
Open

wrong url #3

kai1083 opened this issue Jan 9, 2015 · 5 comments

Comments

@kai1083
Copy link

kai1083 commented Jan 9, 2015

the urk key is wrong:
link rel="alternate" hreflang="de-DE" href="https://www.2sneakers.de/basketballschuhe/"/
link rel="alternate" hreflang="nl-NL" href="https://www.2sneakers.de/nl/basketballschuhe/"/

right is:
link rel="alternate" hreflang="de-DE" href="https://www.2sneakers.de/basketballschuhe/"/
link rel="alternate" hreflang="nl-NL" href="https://www.2sneakers.de/nl/basketbalschoenen/"/

@benleah
Copy link
Owner

benleah commented Jan 12, 2015

Hi @kai1083 is this a category URL? If so is the URL translation handled by store view scope whilst managing the category

@kai1083
Copy link
Author

kai1083 commented Jan 12, 2015

yes it is caterory.
DE is: /basketballschuhe/
NL is /basketbalschoenen/

but when i on the domain.tld/nl/basketbalschoenen/ is the alternat link wrong
right is :
link rel="alternate" hreflang="de-DE" href="https://www.2sneakers.de/basketballschuhe/"/
link rel="alternate" hreflang="nl-NL" href="https://www.2sneakers.de/nl/basketbalschoenen/"/

but in the quellcode is
link rel="alternate" hreflang="de-DE" href="https://www.2sneakers.de/basketbalschoenen/"/
link rel="alternate" hreflang="nl-NL" href="https://www.2sneakers.de/nl/basketbalschoenen/"/

when i am on the domain.tld/basketballschuhe is right
link rel="alternate" hreflang="de-DE" href="https://www.2sneakers.de/basketballschuhe/"/
link rel="alternate" hreflang="nl-NL" href="https://www.2sneakers.de/nl/basketbalschoenen/"/

but in the quellcode stand:
link rel="alternate" hreflang="de-DE" href="https://www.2sneakers.de/basketballschuhe/"/
link rel="alternate" hreflang="nl-NL" href="https://www.2sneakers.de/nl/basketballschuhe/"/

@ultrazeus
Copy link

ultrazeus commented Jun 13, 2016

Hi @kai1083 @benleahdesign ,

Have you solved this issue? I am having the same problems.

webpage: http://domain.com/ordering

current:
`

`

should be:
`

`

Any input is very much appreciated.

@sonalagr
Copy link

Hey,
I am looking for the same. Does anyone found the solution?

@dtfdigital
Copy link

Appreciate this is from a long time back. From what I could establish, this extension assumes that the URL's are the same, irrespective of the store view. In the store we've been working on all the category and product URL's are also translated and as a result this extension failed to work properly.

We updated this extension to add a Helper, Data.php which contains functions based on Inchoo's implementation of this, here: http://inchoo.net/magento/implement-rel-alternate-links-in-magento/
Doing this enabled us to load the correct translated url and output that in the hreflang tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants