SEO impact of default language duplication vs redirects
SEO impact of default language duplication vs redirects - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the SEO impact of default language duplication vs redirects error on your web browser. Problem :
Solution :
We hope that this article has helped you resolve the seo, redirects, duplicate-content error in your web browsers. Enjoy browsing the internet uninterrupted!
On our public gatsby website we have two languages: nl and en.
Our default language is en, so we have /..., /en/... and /nl/....
So for one piece of content we have the following links:
- https://www.azumuta.com/how-it-works/work-instructions/
- https://www.azumuta.com/nl/how-it-works/work-instructions/
- https://www.azumuta.com/en/how-it-works/work-instructions/
Now, two of those are identical and all my SEO tools (like Ubersuggest, Hubspot, etc) are complaining about the duplicate title tags & content.
How should this be solved properly? Can we just redirect the /... pages to the /en/... without further SEO impact? And what's the best way to do redirects in Gatsby?
Regardless of redirects (Saw your comment), if you don't set hreflang annotations and canonicalize pages Google will likely consider them duplicates.
Via document <head>
<head>
<title>Example.com</title>
<link rel="alternate" hreflang="en-gb" href="http://en-gb.example.com/page.html" />
<link rel="alternate" hreflang="en-us" href="http://en-us.example.com/page.html" />
<link rel="alternate" hreflang="en" href="http://en.example.com/page.html" />
<link rel="alternate" hreflang="de" href="http://de.example.com/page.html" />
<link rel="alternate" hreflang="x-default" href="http://www.example.com/" />
</head>
Via headers
Link: <http://example.com/file.pdf>; rel="alternate"; hreflang="en",
<http://de-ch.example.com/file.pdf>; rel="alternate"; hreflang="de-ch",
<http://de.example.com/file.pdf>; rel="alternate"; hreflang="de"
Via sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://www.example.com/english/page.html</loc>
<xhtml:link
rel="alternate"
hreflang="de"
href="http://www.example.com/deutsch/page.html"/>
<xhtml:link
rel="alternate"
hreflang="de-ch"
href="http://www.example.com/schweiz-deutsch/page.html"/>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://www.example.com/english/page.html"/>
</url>
...etc
This answer I wrote recently has some useful resources.
Comments
Post a Comment