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.
Canonical Question: Root Domain Geo Redirects to SubFolder.
- 
					
					
					
					
 Howdy, Working on a larger eComm site that 302s you based on your location. With that in mind should I canonicalize the final page. domain.com => 302 => domain.com/us/, domain.com/fr/, etc... (Should these all have a canonical pointing to the root domain.com? 
- 
					
					
					
					
 Thanks for the tips man! 
- 
					
					
					
					
 To be very honest I don't think it will make a difference if it's going to the /us/ version rather than the root. If you prefer - you could keep the us version on the root & only redirect the non-us visitors to a country version. Dirk 
- 
					
					
					
					
 My only concern is domain.com/us/ showing up on google instead of domain.com Is there anything I can do too keep it the SERP juice going to domain.com instead of the subfolder? 
- 
					
					
					
					
 As far as I understand there is no content on domain.com so your last line makes no sense. If you want the default version to be the us version you should put Don't forget that hreflang needs to be placed on every page of your site - you can check if the implementation is correct here: http://flang.dejanseo.com.au/ Dirk 
- 
					
					
					
					
 Dirk, Great thoughts! We're currently talk through out long term international strategy right now. We're running about 20 local sites times 3 brands. Some are on subfolders, some on subdomains, and some on ccTLDs... so this is pretty tough right now. We luckily caught an issue with Googlebot not being able to access internationally and corrected it. So I think we're safe on that front. Most of the regions are cross accessible (Europe/APAC/North America) but you can't get from Asia to Europe if you need to from the site. So that's on our radar! 
- 
					
					
					
					
 So in this case we don't need point a canonical from the subfolder to the root. But I need something like... So then... will domain.com/us/ start ranking for google.com or will domain.com rank for google.com? 
- 
					
					
					
					
 Be careful when redirecting based on ip - you have to make sure that Googlebot (accessing your site with a Californian ip) can access the non-US versions. If you have a link on each page to change the version to another country (and these pages are accessible without being redirected) you should be ok. An alternative to ip based redirection is to use your main domain for a country select page and to store the selection in a cookie - so you can redirect to the chosen version on subsequent visits. Check volvocars.com as an example. The advantage is of this method is that you give control to the user (I personally find it quite annoying when I'm being redirected to the local version when I'm abroad and want to visit my "home" version). rgds, Dirk 
- 
					
					
					
					
 If you are just changing the content a bit based on location, I think canonicalizing them all back to the root page is OK. If this is redirecting based on translations, you should look into using the hreflang tag. It tells the search engines that there are alternate versions of the page in different languages. Here are some resources for you. - https://support.google.com/webmasters/answer/189077?hl=en
- https://a-moz.groupbuyseo.org/blog/hreflang-behaviour-insights
 Once that is in place, each page can canonicalize to itself. 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Redirection of 100 domain to Main domain affects SEO?
 Hi guys, An email software vendor managed by a different area of my company redirected 100 domains used for unsolicited email campaigns to my main domain. These domains are very likely to get blacklisted at some point. My SEO tool now is showing me all those domains as "linking" to my main site as do-follow links. The vendor states that this will not affect my main domain/website in any way. I'm highly concerned. I would appreciate your professional opinion about this. Thanks!! Intermediate & Advanced SEO | | anagentile0
- 
		
		
		
		
		
		Cleaning up a Spammy Domain VS Starting Fresh with a New Domain
 Hi- Can you give me your opinion please... if you look at murrayroofing.com and see the high SPAM score- and the fact that our domain has been put on some spammy sites over the years- Is it better and faster to place higher in google SERP if we create a fresh new domain? My theory is we will spin our wheels trying to get unlisted from alot of those spammy linking sites. And that it would be faster to see results using a fresh new domain rather than trying to clean up the current spammy doamin. Thanks in advance - You guys have been awesome!! Intermediate & Advanced SEO | | murraycustomhomescom0
- 
		
		
		
		
		
		Move to new domain using Canonical Tag
 At the moment, I am moving from olddomain.com (niche site) to the newdomain.com (multi-niche site). Due to some reasons, I do not want to use 301 right now and planning to use the canonical pointing to the new domain instead. Would Google rank the new site instead of the old site? From what I have learnt, the canonical tag lets Google know that which is the main source of the contents. Thank you very much! Intermediate & Advanced SEO | | india-morocco0
- 
		
		
		
		
		
		Move domain to new domain, for how much time should I keep forwarding?
 I'm not sure but my website looks like is not getting it's juice as supposed to be. As we already know, google preferred https sites and this is what happened to mine, it was been crawling as https but when the time came to move my domain to new domain, I used 301 or domain forwarding service, unfortunately they didn't have a way to forward from https to new https, they only had regular http to https, when users clicked to my old domain from google search my site was returned to "site does not exist", I used hreflang at least that google would detect my new domain been forwarding and yes it worked but now I'm wondering, for how much time should I keep the forwarding the old domain to the new one, my site looks like is not going up, I have changed all the external links, any help would be appreciated. Thanks! Intermediate & Advanced SEO | | Fulanito1
- 
		
		
		
		
		
		Can you redirect specific sub domain URLs?
 ello! We host our PDFs, Images, CSS all in a sub domain. For the question, let's call this sub.cyto.com. I've noticed a particular PDF doing really well, infact it has gathered valuable external links from high authoritative sites. To top it off, it gets good visits. I've been going back and forth with our developers to move this PDF to a subfolder structure. Intermediate & Advanced SEO | | Bio-RadAbs
 For example: www.cyto.com/document/xxxx.pdf In my perspective, if I move this and set up a permanent redirect, then all the external links the PDF gathered, link juice and future visits will be attributed to the main website. Since the PDF is existing in the subdomain, I can't even track direct visits nor get the link juice. It appears in top position of Google as well. My developer says it is better to keep images, pdf, css in the subdomain. I see his point and an idea I have is to: convert the pdf to a webpage. Set up a 301 redirect from the existing subdomain to this webpage Upload the pdf with a new name and link to it from the webpage, so users can download if they choose to. This should give me the existing rank juice. However, my question is whether you can set up a 301 redirect for just a single subdomain URL to a folder structure URL? sub.cyto.com/xxx.pdf to www.cyto.com/document/xxxx.pdf?0
- 
		
		
		
		
		
		How to do geo targeting for domain and sub directories in Webmaster tool?
 Hello All, How can i do geo targeting in multiple countries on my ** root domain and sub **directories in Webmaster tool. My domain is "abc.com" and i want to target three countries UAE , Kuwait, Saudi arabia. So, Can i assign geo targeting in Webmaster tool , Root domain for UAE country and make other two sub directories for Kuwait and saudi ? abc.com - UAE (geo targeting) abc.com/kw - Kuwait (geo targeting) abc.com/sa - Saudi (geo targeting) Or Root doamain should be not assign for any country and Make three sub directories for UAE, Kuwait , and saudi and targeting them there geo locations. abc.com - Unlisted (geo targeting) abc.com/uae/ - UAE (geo targeting) abc.com/kw/ - Kuwait (geo targeting) abc.com/sa/ - Saudi (geo targeting) Intermediate & Advanced SEO | | rahul110
- 
		
		
		
		
		
		Wildcard Redirects & Canonical Tags
 I have an interesting situation. Current URLs Example1: www.domain.com/red-widgets-cid-1234.html Intermediate & Advanced SEO | | NakulGoyal
 www.domain.com/red-widgets-cid-1234-1.html
 www.domain.com/red-widgets-cid-1234-1-1.html Canonical on All Above URLs:
 www.domain.com/red-widgets-cid-1234.html New URL:
 www.domain.com/red-widgets-cid-4567.html Current URLs Example2: www.domain.com/red-widgets-cid-1234+10.html
 www.domain.com/red-widgets-cid-1234+10-1.html
 www.domain.com/red-widgets-cid-1234+10-1-1.html Canonical on All Above URLs:
 www.domain.com/red-widgets-cid-1234+10.html New URL:
 www.domain.com/red-widgets-cid-6789.html Current URLs Example3: www.domain.com/red-widgets-cid-1234+10+5.html
 www.domain.com/red-widgets-cid-1234+10+5-1.html
 www.domain.com/red-widgets-cid-1234+10+5-1-1.html Canonical on All Above URLs:
 www.domain.com/red-widgets-cid-1234+10+5.html New URL:
 www.domain.com/american-red-widgets-cid-6789+5.html I want to make sure all variations of the above URL redirect to the new URLs. However, as you see in Example 3, we are dealing with variables that are passed on. (+5 in this case). Question 1: What wildcard 301 redirect / regular expression can I use to tackle these ? Question 2: If we redirect www.domain.com/red-widgets-cid-1234+10+5.html to www.domain.com/red-widgets-cid-6789+5.html and www.domain.com/red-widgets-cid-6789+5.html contains the canonical tag www.domain.com/american-red-widgets-cid-6789+5.html, any concerns or red flags here ?0
- 
		
		
		
		
		
		Any way to find which domains are 301 redirected to competitors' websites?
 By looking at the work from an SEO collegue it became clear that his weak linkbuilding graph probably is not the cause for his good rankings for a pretty competitive keyword. (also no social mentions where found) I was wondering what it could be, site structure and other on page optimization factors seems to be ok and I don't think there will be exceptionally good or bad user behavior... Finally I looked at the competitors and found that they have more links, better content en better design, so I got a little stuck. The only reason I can think of is that he is doing 301 redirects (or is rel=canonical tags). Is there a way to trace these redirects back to the source in order to include this important variable in your competitor research? thnx Intermediate & Advanced SEO | | djingel10
 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				