Feb 5, 2024
mulit country magento store setup Robots, sitemaps canonicals and hreflang
Hi all i have a new site that i created on magento with 5 stores
CA
US
UK
EU
INT (default - no pricing)
(canonical is on page. hreflang is in sitemaps)
Right now i am getting constant duplicate content issues as well as google indexing the /us/ site links only no matter where in the world you are searching (UK search results are /us/ urls.
My setup is
robots.txt points to a Sitemap: https://www.psbspeakers.com/media/sitemap/int/sitemap.xml
in that site map i have the site map set up like
<url>
<loc>https://www.example.com/int/passif-50</loc>
<changefreq>daily</changefreq>
<priority>0.5</priority>
<image:image>
<image:loc>https://www.psbspeakers.com/media/catalog/product/p/s/passif-50-front-3-4-pair-on-stands-left-grill-scaled-e1656525484796.jpg</image:loc>
</image:image>
<lastmod>2024-01-26</lastmod>
<xhtml:link hreflang="en-GB" rel="alternate" href="https://www.psbspeakers.com/uk/passif-50"/>
<xhtml:link hreflang="en-IE" rel="alternate" href="https://www.psbspeakers.com/eu/passif-50"/>
<xhtml:link hreflang="en-CA" rel="alternate" href="https://www.psbspeakers.com/ca/passif-50"/>
<xhtml:link hreflang="en-US" rel="alternate" href="https://www.psbspeakers.com/us/passif-50"/>
<xhtml:link hreflang="x-default" rel="alternate" href="https://www.psbspeakers.com/int/passif-50"/>
</url>
i am ip redirecting entries from CA, US, UK, EU to there own store that all have their own robots and sitmap
so my question is:
Why am i getting duplicate content errors?
Why is google only indexing /us/ urls no matter the country the searcher is in.?
i am ip redirecting entries from CA, US, UK, EU to there own store that all have their own robots and sitmap
so my question is:
Why am i getting duplicate content errors?
Why is google only indexing /us/ urls no matter the country the searcher is in.?
Community content may not be verified or up-to-date. Learn more.
Last edited Feb 5, 2024
All Replies