Needs review
Project:
Global Redirect
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2011 at 05:23 UTC
Updated:
4 Mar 2018 at 22:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mac_weber commentedchanging to major because of SEO problems this issue can bring
Comment #2
mac_weber commentedI changed line 241 from:
to:
Canonicals look good now, yet this is far from the best solution. I'm not sure if the problem is on
$prefixor'prefix'on the options array ofurl()Comment #3
mrfelton commentedAttached patch basically does what was suggested in #2, which seems to work. (This patch is for D6)
Comment #4
mrfelton commentedComment #5
mac_weber commentedmrfelton, this does not really fix the problem.
It just make masquerades the problem. Again, it should be fixed on
$prefixor'prefix'(I don't know exactly which one).Comment #6
mrfelton commentedYes Mac, please see #1208144: in case of fallback language canonical should point to original language. This issue is tied up with that one, and there is a more complete patch in that ticket.
Comment #7
marcoka commentedi can 100% confirm the issue i get the language prefix twice to, like de/de or en/en
It also seems that the metatags module already adds one correctly
...
...Comment #9
RavindraSingh commentedDrupal core provides default canonical URLs for nodes pages, If you have enabled the global redirect for multilingual site you would see this error definitely, even you would see canonical is placed twice in node page.
And I think everysite needs it for SEO. where site owner definitely add meta tags module.
So this would be the good idea to remove canonical code from global redirect module. So I have created a patch for that.
Comment #10
RavindraSingh commentedComment #14
moymilo commentedRe-apply patch on the new code base.
Comment #15
moymilo commented