Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
301 or 302 Redirects with locale URLs?
-
Hi Mozers,
I have a bit of a tricky question I need some help answering. My agency are building a brand new website for a client of ours which means changing the domain name (yay...). So! I have my 301's all ready to go for the UK locale, however, the issue I have is that the site will also eventually have French, German and Spanish locales - but these won't be ready to go until later this year. We will be launching in just English for September. The current site already has the French and German locales on it as well.
Just to make sure I'm being clear, the site will be www.example.com for launch, but by lets say November, we will also have a www.example.com/fr/ and www.example.com/de/ site launched too.
So what do I do with the locale URLs? As I said above, the exisitng site already has the French and German locales on it, so I don't particularly want to redirect the /fr/ and /de/ URLs to the English homepage, as I will want to redirect them to the new URLs in November, and redirecting more than once is bad for SEO right?
Any ideas? Would 302s maybe be the best suggestion?
Thanks!
Virginia
-
Thanks Greg. Yeah, I didn't really want to go down the 302 route, it makes everything so much more time sensitive!
-
Thanks Rob!
I'm trying to encourage my client as much as possible to start work on the translations of the sites ASAP so that we don't end up going down the Google Translate route. I've advised against this already.
Your advise has been really helpful!
Thanks
-
Hi Virginia,
In all honesty, it's probably not going to matter very much which kind of redirect you are using. If I understand you correctly, your current redirect chain will look like:
www.example.com --> www.example2.com
www.example.com/fr --> www.example2.com
www.example.com/de --> www.example2.comThe reason redirects won't matter is that in November your second French, Dutch, etc. sites are going live. The redirects will have to be changed in November to look more like this:
www.example.com --> www.example2.com
www.example.com/fr --> www.example2.com/fr
www.example.com/de --> www.example2.com/deGiven that there is a maximum of 6-8 weeks when these redirects will be active, Google will barely have time to index them before you are changing your redirect chain all over again. In my books, that makes these redirects somewhat redundant - either way you are going to have some SEO changes occurring during that time which will probably be in a downward direction. That being said, you will want to finish up with 301 redirects since that will be the permanent fix.
However, once the new redirects are placed and indexed, you should see things return to normal and even improve if the new sites are featuring good UX. Keep in mind that any redirect is going to hurt your link profile a little bit, so you can expect to lose some rankings once your redirects are indexed.
Bottom line:
- Focus on ensuring the new sites are well put-together with good content
- Make sure proper translations are taken care of (this is a HUGE problem with multi-lingual sites)
- Try to avoid Google Translate plugin for translation services (doesn't sound like this is what you're doing)
- More importance should be placed on the UX of the site and the link profile impacts of 301 redirects
- Make sure 301 redirects are what you finish up with after the new sites go live in November
Feel free to reach out if I can be of more assistance.
Cheers,
Rob
-
Also, I understand your confusion in 301 vs 302. I mean essentially, your redirect is temporary. But 302 redirects are meant more so for short time periods, probably with a month being the max amount of time you would want to do this. You'll want to use a 301 to maintain linking power. There's no harm in doing so and then replacing it later.
-
You would remove the old 301 redirect from www.example.com/fr/ to www.example.com and add a new one from www.example.com/fr/ to www.example2.com/fr/ , then force a recrawl on your site.
-
But what will happen when I have to 301 again? Currently, I will have to redirect from www.example.com/fr/ to my new English only site which is www.example.com. But then in 3 months time, I will have a www.example2.com/fr/. So I want my old www.example.com/fr/ to redirect to my new www.example2.com/fr/ website. So how would that work?
-
Personally I think a 301 redirect would be the best.
-
I reckon you must use 301 as it seems like you're moving your sites permanently so there is no point to have 302 at all.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
How to Get google to get to index New URL and not the OLD url
Hi Team, We are undertaking a Domain migration activity to migrate our content frrom one domain to another. 1. the Redirection of pages is handeled at Reverse proxy level. 2. We do have 301 redirects put in place. However we still see that google is indexing pages with our Old domain apart from the pages from new domain. Is there a way for us to stop google from indexing our pages from Old domain. The recommendations to have Noindex on Page mete title and disallow does not work since our redirection is setup at RP and google crawlers always discover the new pages after redirection.
Local Website Optimization | | bhaskaran0 -
Do I need to change my country og:locale to en_AE
Hi MOZ, I have a site that is aimed at the English speaking market of the United Arab Emirates. The language tag is currently set to lang="en-GB" and the og:locale also set to en_GB. The domain is a .com and aimed at the whole world. Should I be trying to target en-AE and en_AE for these tags instead of GB?
Local Website Optimization | | SeoSheikh0 -
Title Tag, URL Structure & H1 for Localization
I am working with a local service company. They have one location but offer a number of different services to both residential and commercial verticals. What I have been reading seems to suggest that I put the location in URLs, Title Tags & H1s. Isn't it kind of spammy and possibly annoying user experience to see location on every page?? Portland ME Residential House Painting Portland ME Commercial Painting Portland Maine commercial sealcoating Portland Maine residential sealcoating etc, etc This strikes me as an old school approach. Isn't google more adept at recognizing location so that I don't need to paste it In H1s all over the site? Thanks in advance. PAtrick
Local Website Optimization | | hopkinspat0 -
How can i optimize my pages for local areas if we are not in that area?
Hi Mozers! So I watched a video about Matt Cutts he talks about creating multiple web pages just for one keywords is an absolutely no go. So I was wondering we serve a clients in NZ Australia and USA, If we target phrase like Psychic Readings California, Psychic Readings San Diego etc (USA) Psychic Readings Melbourne, Psychic Readings Sydney (AU) Psychic Readings Auckland, Psychic Readings Wellington (NZ) What is the best practice or right way to go about structuring my pages to do this without going against googles guidelines. Many thanks
Local Website Optimization | | edward-may1 -
Image URLs changed 3 times after using a CDN - How to Handle for SEO?
Hi Mozzers,
Local Website Optimization | | emerald
Hoping for your advice on how to handle the SEO effects an image URL change, that changed 3 times, during the course of setting up a CDN over a month period, as follows: (URL 1) - Original image URL before CDN:www.mydomain.com/images/abc.jpg (URL 2) - First CDN URL (without CNAME alias - using WPEngine & their own CDN):
username.net-dns.com/images/abc.jpg (URL 3) - Second CDN URL (with CNAME alias - applied 3 weeks later):
cdn.mydomain.com/images/abc.jpg When we changed to URL 2, our image rankings in the Moz Tool Pro Rankings dropped from 80% to 5% (the one with the little photo icons). So my questions for recovery are: Do I need to add a 301 redirect/Canonical tag from the old image URL 1 & 2 to URL 3 or something else? Do I need to change my image sitemap to use cdn.mydomain.com/images/abc.jpg instead of www.? Thanks in advance for your advice.0 -
Subdomain versus Subfolder for Local SEO
Hello Moz World, I'm wanting to know the best practices for utilizing a subdomain versus a subfolder for multi location businesses, i.e. miami.example.com vs. example.com/miami; I would think that that utilizing the subdomain would make more sense for a national organization with many differing locations, while a subfolder would make more sense for a smaller more nearby locations. I wanted to know if anyone has any a/b examples or when it should go one way or another? Thank you, Kristin Miller
Local Website Optimization | | Red_Spot_Interactive0 -
Yoast Local SEO Reviews/Would it work for me?
Hi everyone, I'm looking for some feedback on Yoast Local SEO, and if you think it'd work for our site. www.kempruge.com. Our site is a wordpress site, and there's nothing about it, off the top of my head, that makes me think it wouldn't work, but I've been wrong before. We do use All-In-One SEO, not the Yoast plugin, so I'm not sure if that's compatible.or would cause a problem? (The reason we use All-In-One and not Yoast is because that's what we had when I got here, and I'm worried what would happen if we switched). Also, we have three offices, and I need to be able to do local seo for all three. I know Yoast says it supports multiple offices, but I'd feel more comfortable if someone on here let me know from his/her experience that it did. Anything else you want to add about Yoast Local, I'm all ears! Thanks, Ruben
Local Website Optimization | | KempRugeLawGroup0 -
International Site Geolocation Redirection (best way to redirect and allow Google bots to index sites)
I have a client that has an international website. The website currently has IP detection and redirects you to the subdomain for your country. They have currently only launched the Australian website and are not yet open to the rest of the world: https://au.domain.com/ Google is not indexing the Australian website or pages, instead I believe that the bots are being blocked by the IP redirection every time they try to visit one of the Australian pages. Therefore only the US 'coming soon' page is being properly indexed. So, I would like to know the best way to place a geolocation redirection without creating a splash page to select location? User friendliness is most important (so we don't want cookies etc). I have seen this great Whiteboard Friday video on Where to Host and How to Target, which makes sense, but what it doesn't tell me is exactly the best method for redirection except at about 10:20 where it tells me what I'm doing is incorrect. I have also read a number of other posts on IP redirection, but none tell me the best method, and some are a little different examples... I need for US visitors to see the US coming soon page and for Google to index the Australian website. I have seen a lot about JS redirects, IP redirects and .htaccess redirects, but unfortunately my technical knowledge of how these affect Google's bots doesn't really help. Appreciate your answers. Cheers, Lincoln
Local Website Optimization | | LincolnSmith0