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
-
Should I avoid duplicate url keywords?
I'm curious to know Can having a keyword repeat in the URL cause any penalties ? For example xyzroofing.com xyzroofing.com/commercial-roofing xyzroofing.com/roofing-repairs My competitors with the highest rankings seem to be doing it without any trouble but I'm wondering if there is a better way. Also One of the problems I've noticed is that my /commercial-roofing page outranks my homepage for both residential and commercial search inquiries. How can this be straightened out?
Local Website Optimization | | Lyontups0 -
Should Multi Location Businesses "Local Content Silo" Their Services Pages?
I manage a site for a medical practice that has two locations. We already have a location page for each office location and we have the NAP for both locations in the footer of every page. I'm considering making a change to the structure of the site to help it rank better for individual services at each of the two locations, which I think will help pages rank in their specific locales by having the city name in the URL. However, I'm concerned about diluting the domain authority that gets passed to the pages by moving them deeper in the site's structure. For instance, the services URLs are currently structured like this: www.domain.com/services/teeth-whitening (where the service is offered in each of the two locations) Would it make sense to move to a structure more like www.domain.com/city1name/teeth-whitening www.domain.com/city2name/teeth-whitening Does anyone have insight from dealing with multi-location brands on the best way to go about this?
Local Website Optimization | | formandfunctionagency1 -
Areaserved json-ld schema markup for a local business that targets national tourism
If there is a local business that thrives on ranking nationally for people searching for their services in that location, do you target the business's actual service areas or target nationally? For instance, a hotel in Denver, Colorado. Would the areaserved markup be: "areaServed":[{"@type":"State","name":"Colorado"},{"@type":"City","name":"Denver"}] Or "areaserved":"USA" The "geographic area where a service or offered item is provided" would be denver, colorado. But we would be looking to target all people nationally looking to travel to denver, colorado. Or would it be best to target it all, like: "areaServed":[{"@type":"State","name":"Colorado"},{"@type":"City","name":"Denver"},"USA"]
Local Website Optimization | | SEOdub0 -
Applying NAP Local Schema Markup to a Virtual Location: spamming or not?
I have a client that has multiple virtual locations to show website visitors where they provide delivery services. These are individual pages that include unique phone numbers, zip codes, city & state. However there is no address (this is just a service area). We wanted to apply schematic markup to these landing pages. Our development team successfully applied schema to the phone, state, city, etc. However for just the address property they said VIRTUAL LOCATION. This checked out fine on the Google structured data testing tool. Our question is this; can just having VIRTUAL LOCATION for the address property be construed as spamming? This landing page is providing pertinent information for the end user. However since there is no brick and mortar address I'm trying to determine if having VIRTUAL LOCATION as the value could be frowned upon by Google. Any insight would be very helpful. Thanks
Local Website Optimization | | RosemaryB1 -
Local SEO - Adding the location to the URL
Hi there, My client has a product URL: www.company.com/product. They are only serving one state in the US. The existing URL is ranking in a position between 8-15 at the moment for local searches. Would it be interesting to add the location to the URL in order to get a higher position or is it dangerous as we have our rankings at the moment. Is it really giving you an advantage that is worth the risk? Thank you for your opinions!
Local Website Optimization | | WeAreDigital_BE
Sander0 -
Should I use pipe in title tags for local seo?
Hi, I've created a bunch of landing pages for local areas, reading, windsor, slough etc for the title tag I have for Windsor Emergency Electrician Windsor - BrandName should I be using a pipe in the tag to further help search engines learn/identify the location? Emergency Electrician | Windsor - BrandName Thank you Kev
Local Website Optimization | | otex1 -
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 -
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