MarcoMonaco

Hreflang: massive amount of pages in 302

by @MarcoMonaco (128), 1 month ago

So I'm trying to do a preliminary SEO analysis for an important potential client. I saw a huge amount of 302 from its website reported both in Screaming Frog and Semrush (as well as other crawlers). I also changed the user-agent to double check with the Googlebot and checked the URL with the command "curl -I". They all give the same result.

What happens is that every page that is not in english is considered by the bots as a 302. But those pages are both ranking in the SERP and accessible as any 200 page would be. I checked the hreflang links in the html code, there are a few mistakes (like no country codes) but nothing that should trigger this kind of mess.

Also, apparently pages that only have an english version with no equivalents in other languages don't have this problem and have a code 200.

Of course, considering this is not (yet) a client, I can't access their GSC to see the acutal status of their webpages.

Any idea of what might be triggering this?

Apologies if I made some mistakes in explaining the problem, I started working with SEO not so long ago.

107 Views
0 Upvotes
4 Replies
3 Users
Sort replies:
MarcoMonaco
by @MarcoMonaco (128), 1 month ago

Thanks a lot!

binayjha
by @binayjha (5889), 1 month ago

Sure @ms, Please check the below link for more detail,

https://sitechecker.pro/site-audit-issues/redirecting-hreflang-link/
ms
by @ms (4458), 1 month ago

Sounds like the site is automatically redirecting traffic based on user agent language or their GEO, but who knows. It's just a guess.

I'd try to send language specific headers in your Curl request and let's see what happens. If it's 302, check logs on the server (if you have access to it) and find out what's happening there. At least, you want 301 redirect.

Also check hreflang implementation and canonical URLs for localized pages.

Again, even though your question is clear, it's really hard to tell what is the issue with the site and why it redirects with 302.

@binayjha please, provide more information in your answers. One sentence is not enough to help in such case. Thanks

binayjha
by @binayjha (5889), 1 month ago

Incorrect hreflang can lead to 302 errors.

Join the forum to unlock true power of SEO community

You're welcome to become part of SEO Forum community. Register for free, learn and contribute.

Log In Sign up
Buddler
Want to see your Ad here?

Do you have a product or service you'd like to promote on Seoforum? It's easy. Contact us.