Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Discover Brand Authority
      Moz Pro

      Discover Brand Authority

      Learn More
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Take the quiz
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      June 3 & 4, 2024, Seattle
      MozCon

      June 3 & 4, 2024, Seattle

      Get tickets
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature: Moz Pro

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. International SEO
    4. Multilang site: Auto redirect 301 or 302?

    Multilang site: Auto redirect 301 or 302?

    International SEO
    redirect 301 redirect 302 international seo
    3
    5
    4766
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • fJ66doneOIdDpj
      fJ66doneOIdDpj Subscriber last edited by

      We need to establish if 301 or 302 response code is to be used for our auto redirects based on Accept-Language header.

      https://domain.com
      30x > https://domain.com/en
      30x > https://domain.com/ru
      30x > https://domain.com/de

      The site architecture is set up with proper inline HREFLANG.
      We have read different opinions about this, Ahrefs says 302 is the correct one:
      https://ahrefs.com/blog/301-vs-302-redirects/
      302 redirect:
      "You want to redirect users to the right version of the site for them (based on location/language)."

      You could argue that the root redirect is never permanent as it varies based on user language settings (302)
      On the other hand, the lang specific redirects are permanent per language:

      IF Accept-Language header = en
      https://domain.com > 301 > https://domain.com/en
      IF Accept-Language header = ru
      https://domain.com > 301 > https://domain.com/ru

      So each of these is 'permanent'.

      So which is the correct?

      Tom.Capper 1 Reply Last reply Reply Quote 0
      • Scottoffroad
        Scottoffroad last edited by

        Hi Guys i am newer to SEO. my web with the 301 302 issue. anyone able help to fix it? will be high appreciated.

        Internal URL
        Yes
        Full URL
        https://myoffroadled.com/led-rocker-switch
        HTTP status code
        301 Moved permanently
        First found at
        Seed URL
        Content type
        text/html; charset=utf-8
        Depth
        0
        Redirect URL
        https://www.myoffroadled.com/led-rocker-switch/
        Not crawled
        Is redirect loop
        No
        Page rating
        100

        1 Reply Last reply Reply Quote 0
        • Tom.Capper
          Tom.Capper Subject Expert @fJ66doneOIdDpj last edited by

          @fj66doneoiddpj In some cases users may have a reason for using the site in something other than their browser language.

          For example, perhaps a shared device, or simply wishing to check a different localisation.

          If your hreflang is working correctly, they should never see the "wrong" version anyhow.

          But, there are pros and cons of course.

          1 Reply Last reply Reply Quote 0
          • fJ66doneOIdDpj
            fJ66doneOIdDpj Subscriber last edited by

            Thank you for the reply, 302 is also what we decided after many hours of reading.
            The main reason for auto redirect is that we feel it's a better user experience as user will arrive the content target to his/her browser language.

            Tom.Capper 1 Reply Last reply Reply Quote 0
            • Tom.Capper
              Tom.Capper Subject Expert @fJ66doneOIdDpj last edited by

              @fj66doneoiddpj

              I would use a 302 here, just as an added insurance in case you ever accidentally serve Google the redirect.

              However, I'm not a huge fan of auto redirects in general - they tend to cause issues for crawlers and users alike. Can you explain a bit more when/why the user gets redirected? Perhaps instead you could serve a country selection insterstitial if a user seems to be on the "wrong" variant?

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              Browse Questions

              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

              • SEO Tactics

                Discuss the SEO process with fellow marketers

              • Community

                Discuss industry events, jobs, and news!

              • Digital Marketing

                Chat about tactics outside of SEO

              • Research & Trends

                Dive into research and trends in the search industry.

              • Support

                Connect on product support and feature requests.

              • See all categories

              Related Questions

              • MarkCanning

                Advise on the right way to block country specific users but not block Googlebot - and not be seen to be cloaking. Help please!

                international seo crawling

                Hi, I am working on the SEO of an online gaming platform - a platform that can only be accessed by people in certain countries, where the games and content are legally allowed.
                Example: The games are not allowed in the USA, but they are allowed in Canada. Present Situation:
                Presently when a user from the USA visits the site they get directed to a restricted location page with the following message: RESTRICTED LOCATION
                Due to licensing restrictions, we can't currently offer our services in your location. We're working hard to expand our reach, so stay tuned for updates! Because USA visitors are blocked Google which primarily (but not always) crawls from the USA is also blocked, so the company webpages are not being crawled and indexed. Objective / What we want to achieve: The website will have multiple region and language locations. Some of these will exist as standalone websites and others will exist as folders on the domain. Examples below:
                domain.com/en-ca [English Canada]
                domain.com/fr-ca [french Canada]
                domain.com/es-mx [spanish mexico]
                domain.com/pt-br [portugese brazil]
                domain.co.in/hi [hindi India] If a user from USA or another restricted location tries to access our site they should not have access but should get a restricted access message.
                However we still want google to be able to access, crawl and index our pages. Can i suggest how do we do this without getting done for cloaking etc? Would this approach be ok? (please see below) We continue to work as the present situation is presently doing, showing visitors from the USA a restricted message.
                However rather than redirecting these visitors to a restricted location page, we just black out the page and show them a floating message as if it were a model window.
                While Googlebot would be allowed to visit and crawl the website. I have also read that it would be good to put paywall schema on each webpage to let Google know that we are not cloaking and its a restricted paid page. All public pages are accessible but only if the visitor is from a location that is not restricted Any feedback and direction that can be given would be greatly appreciated as i am new to this angle of SEO. Sincere thanks,

                International SEO | | MarkCanning
                0
              • cellydy

                Moving from single domain to multiple CCTLDs

                cctlds international seo hreflang 301 redirects change of address tool

                Hi, I have a website targeting 3 markets (and therefor 3 languages). I was currently using a single domain with each market being targeted in the following format: www.website.com/pl
                www.website.com/de
                www.website.com/hu It's clear to me by looking at organic results, that in my industry (Real Estate) Google is putting a large emphasis on local businesses and local domains. Top 10 organic results for all my keywords in all markets have country specific CCTLDs. I decided to migrate from a single domain strategy to a multi domain strategy. I own the domains. The new structure is www.website.com/pl -> www.website.pl
                www.website.com/de -> www.website.de
                www.website.com/hu -> www.website.hu All the website have been added to google search console and 301 redirects are in place and working correctly. The pages are all interlinked and have rel=alternate to each other. The sitemaps are all done correctly. My question is how do I tell Google about this. The change of address feature only works for changing one domain to one other domain. It's been a week and the old www.website.com domain is still showing up (even considering 301 redirects). Or do I just need to be patient and wait it out? Any tips?

                International SEO | | cellydy
                0
              • sriffs

                Ecom: Hreflang start working - anything I can do about SERP currencies?

                international seo schema schema markup serp features hreflang tags

                Hello everyone, Finally, after moving our hreflang tags from our sitemap to our header HTML, Google seems to start displaying the correct URLs in the SERPs. From what I can see - Google folds URLs, so instead of indexing all pages, it only selects an English version of our site but displays a different URL based on our hreflang tags (not sure if that's good or bad or if I should work towards a full indexation). However - I am now facing the issue that the wrong currency will often be displayed in my SERPs. E.g. in Australia I may have Euros or in Canada we see British Pounds (i.e. /en-ca/* URL shows in SERPs but the /en-gb/* URL is actually indexed). Is there any way around this? I was searching for a solution and found some but seems like most don't exist anymore (https://moz.com/community/q/topic/53216/international-seo-ecommerce-rich-snippets/3) at least if I try and dig deeper into the source. What's the current recommendation?

                International SEO | | sriffs
                0
              • Kingagogomarketing

                Content Issues: Duplicate Content

                duplicate content canonical 301 redirect

                Hi there
                Moz flagged the following content issues, the page has duplicate content and missing canonical tags.
                What is the best solution to do? Industrial Flooring » IRL Group Ltd
                https://irlgroup.co.uk/industrial-flooring/ Industrial Flooring » IRL Group Ltd
                https://irlgroup.co.uk/index.php/industrial-flooring Industrial Flooring » IRL Group Ltd
                https://irlgroup.co.uk/index.php/industrial-flooring/

                Technical SEO | | Kingagogomarketing
                0
              • JMSCC

                US site vs New Canadian site for Brand

                Hi Everyone, My company decided to create a Canadian site for Canadian customers. How do I slowly transition the US site for ranking in Google.ca? I was thinking of using robots.txt to block Google.Ca from crawling the US site? Can anyone provide some advice oh how this should be managed? Thank you!

                International SEO | | JMSCC
                0
              • matt-14567

                In the U.S., how can I stop the European version of my site from outranking the U.S. version?

                I've got a site with two versions – a U.S. version and a European version. Users are directed to the appropriate version through a landing page that asks where they're located; both sites are on the same domain, except one is .com/us and the other is .com/eu. My issue is that for some keywords, the European version is outranking the U.S. version in Google's U.S. SERPs. Not only that, but when Google displays sitelinks in the U.S. SERPs, it's a combination of pages on the European site and the U.S. site. Does anyone know how I can stop the European site from outranking the U.S. site in the U.S.? Or how I can get Google to only display sitelinks for pages on the U.S. site in the U.S. SERPs? Thanks in advance for any light you can shed on this topic!

                International SEO | | matt-14567
                0
              • doctorSIM

                Using Javascript to alter ONE or TWO keywords in International Site

                Hi, What is the best way to target a language that has slight variations in it without actually targetting specific countries? Scenario: Ecommerce site that sells mobile phones in Spanish, initially created to target Spanish from Spain. We call a mobile phone a "movil" Now we want to target LatinAmerican users, which also use Spanish with variations, the most notable being mobile phone called "celular". We don't want to create specific sites via new ccTLDs, nor subdomains, no directories for each new country, and we want to avoid having two sites - one for spain, one for latinamerica- given that the only major difference is we say MOVIL in spain and CELULAR in LatinAmerica. What is Googles take if we simply decide to modify THAT specific keyword in each page where it is mentioned?  Either by: a) Server based. IP Detect. that is, render the page with either one or the other term b) Javascript based. i.e. Have BOTH terms on all pages but using Javascript show/hide according to user preferences. c) Display the keywords with different font sizes/emphasis, depending on the visitor. Any ideas?

                International SEO | | doctorSIM
                0
              • martincad

                Reciprocal Links between my own sites ?

                Is is ok to have Reciprocal Links between sites you really own ? We have a website that has been regionalized to 5 countries, using 5 different domains. The content is exclusive for the country but the keywords used might be similar. We have all the domains under the same Analytics account and all of them share the same Adsense code. Can I be penalized by Google for making reciprocal links between them ? Is something usefull for improving the SEO rank or I should avoid doing it ? Thanks in advance

                International SEO | | martincad
                0
              Moz logo
              • Contact
              • Community
              • Free Trial
              • Terms & Privacy
              • Accessibility
              • Jobs
              • Help
              • News & Press
              • MozCon
              © 2021 - 2024 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.

              Looks like your connection to Moz was lost, please wait while we try to reconnect.