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.
What is the best way to execute a geo redirect?
- 
					
					
					
					
 Based on what I've read, it seems like everyone agrees an IP-based, server side redirect is fine for SEO if you have content that is "geo" in nature. What I don't understand is how to actually do this. It seems like after a bit of research there are 3 options: - 
You can do a 301 which it seems like most sites do, but that basically means if google crawls you in different US areas (which it may or may not) it essentially thinks you have multiple homepages. Does google only crawl from SF-based IPs? 
- 
302 passes no juice, so probably don't want to do that. 
- 
Yelp does a 303 redirect, which it seems like nobody else does, but Yelp is obviously very SEO-savvy. Is this perhaps a better way that solves for the above issues? 
 Thoughts on what is best approach here? 
- 
- 
					
					
					
					
 You are welcome. Hmmmm.. don't know about Yelp, I've seen others using 303 too, but still 302 seems to be the way to go. 
- 
					
					
					
					
 Thanks Federico. Any insight as to why Yelp, who is very seo savvy, uses a 303? 
- 
					
					
					
					
 Well, personally I would go with a 302. The reasons are: 301: the browser "remembers" that 301, so next time the user request that page, their browser will automatically redirect as the last time it accessed the page. However, the 302, as a temporary redirect will let the browser know that it should re-request the page. Say your website www.example.com holds an english version in the root, and then a german version in www.example.com/de. If a german user accesses the site for the first time, you do the geolocation check and redirect to german version while saving a session/cookie of the chosen version. Then if the user chooses to switch to the english version you update that cookie/session to save the one that the user chose to navigate and make a 302 redirection. Next time the user accesses, having the cookie will automatically show/redirect to the appropriate language. Using the same example, if you did a 301, then even if the user changed the language, as the browser already has a 301-permanent redirect, he will be redirected to the "first version served". SEOwise, if we take a quick look on Google, they use 302 to redirect users to the "appropriate" version, so I guess that should be ok as long as you use rel="alternate" to point to the other versions of your site: https://support.google.com/webmasters/answer/189077?hl=en EDIT: link juice flows to the page that the link is pointing. Say a link points to www.example.com then the juice goes to www.example.com, even if that page has a redirection to the german version (when accessed from germany). Anyway, it is said that 302s also pass some pagerank. Hope that helped. 
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
- 
		
		
		
		
		
		How do I carry out a redirect? Is there a code I need to use?
 How do I carry out a redirect? Is there a code I need to use? Thank you in advance. On-Page Optimization | | laurentjb0
- 
		
		
		
		
		
		After HTTPS upgrade, should I change all internal links, or a general 301 redirect is better?
 I recently upgraded to https. Of course most internal links of my old posts are still http. So I set up a 301 redirect in order to make the old link works. In terms od SEO this is good or it is better to update all the internal links to https, manually? In that case can I do it in batch with a search/replace command in the phmyadmin database? any other suggested method? thank you On-Page Optimization | | micvitale0
- 
		
		
		
		
		
		Exact keyword match for meta title and h1 what is best practice?
 How exact should my meta titles and H1 one be compare to the keyword you wish to rank on. Eksample. When I do a research with google AdWords the keyword tool shows me: 260 monthly searches for house for rent Hua Hin 140 monthly searches for Hua Hin house for rent 70 monthly searches for House for rent in Hua Hin The first two includes the exact same 5 words while the last one includes the stopword "in". That google have different search volumens for these very smilair search queries tells me that small differences matters. So how does that effect the way i shoulf write my: a)meta titles b)H1 I feel I get better sentences often by reordering the keywords etc. “Top tips on how to rent house in Hua Hin” Instead of “Top tips if you want a house for rent in Hua Hin” Do you use stop words like “in” hua hin. (only used in 25% of the searches queries)? Also would it matter if i write a plural form of a keyword instead of a singular etc propeties and sted of property? My goal is to write easy to read and unique content but i feel i can make exact matches if required with out compromising to much. On-Page Optimization | | nm19770
- 
		
		
		
		
		
		How can I fix multiple 404 errors with Wildcard htaccess redirect
 Hi all I hope that someone can help.... How can I fix multiple 404 errors with Wildcard htaccess redirect The url in question is: How can I fix multiple 404 errors with Wildcard htaccess redirect http://www.5starweddingdirectory.com/listing/search/Category/luxury_hotels_venues_uk_wedding_venues/exclusive_use_venues/letter/c http://www.5starweddingdirectory.com/listing/location/uk-england/bedfordshire-weddings/franklin-park http://www.5starweddingdirectory.com/deal/location/uk-england/chorley-weddings/curtis-bay etc, going to http://www.5starweddingdirectory.com/business the above is just a few examples, google webmaster is showing over 8.000 404 page not found errors. Thanks in advance. On-Page Optimization | | Taiger0
- 
		
		
		
		
		
		Should I redirect mobile traffic to a different url? Will it hurt SEO?
 I'm working on a site that has lots of great content and ranks well but essentially the money is generated by affiliate links. I don't have a mobile version of the site but the company I'm affiliated with does offer a mobile redirect to their domain. Will redirecting mobile traffic to a different url hurt my SEO? I think the user will get a better experience by landing on a mobile page but I don't know if google will see it like that. Any thoughts? On-Page Optimization | | SamCUK0
- 
		
		
		
		
		
		Which is Best Practice for creating URLs for subdomain?
 My website is related to education. We have created sub domains for all major colleges, universities & Entrance exams like Gre, Toefl ETC. for eg: amityuniversity.abc.com (Amity is Name of University ) Now if have to mention city name in URL as well (college is located in multiple locations) amityuniversity-delhi.abc.com On-Page Optimization | | rohanarora536
 amityuniversitydelhi.abc.com Now my Q is can we use hyphens in sub domains if we have to add city name or shall we create without using any hyphens. In Directory structure we can always separate words with hyphens, can we follow same practice in subdomain as well Which is a best URL for subdomain amity-university-delhi.abc.com
 amityuniversity-delhi.abc.com
 or amityuniversitydelhi.abc.com0
- 
		
		
		
		
		
		Right way to block google robots from ppc landing pages
 What is the right way to completely block seo robots from my adword landing pages? Robots.txt does not work really good for that, as far I know. Adding metatags noindex nofollow on the other side will block adwords robot as well. right? Thank you very much, Serge On-Page Optimization | | Kotkov0
 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				