All pages going through 302 redirect - bad?
-
So, our web development company did something I don't agree with and I need a second opinion.
Most of our pages are statically cached (the CMS creates .html files), which is required because of our traffic volume. To get geotargeting to work, they've set up every page to 302 redirect to a geodetection script, and back to the geotargeted version of the page.
Eg: www.example.com/category 302 redirects to www.example.com/geodetect.hp?ip=ip_address. Then that page 302 redirects back to either www.example.com/category, or www.example.com/geo/category for the geo-targeted version.
**So all of our pages - thousands - go through a double 302 redirect. It's fairly invisible to the user, and 302 is more appropriate than 301 in this case, but it really worries me. I've done lots of research and can't find anything specifically saying this is bad, but I can't imagine Google being happy with this. **
Thoughts? Is this bad for SEO? Is there a better way (keeping in mind all of our files are statically generated)? Is this perfectly fine?
-
I would think there has to be a better way to do that. Sites detect IP addresses and deliver dynamically created local content all the time. I would think there are some scripts out there which would do what you want without all the 302 redirects. It would be cleaner and better SEO. Unfortunately, I'm not a developer and don't have a specific suggestion, but I'm sure there's a better solution.
-
If you can prevent the redirects then I would definitely choose for this option, I'm not a big fan of redirects because there will always be some damage in the authority that is passed on.
-
This is what I've been struggling with. It's not a link-juice issue, and the page hasn't moved. We're just showing a slightly different version of the page based on where you are coming from. So even though www.example.com/category and www.example.com/geo/category both exist, www.example.com/category is the canonical URL and we don't want the /geo version indexed (because it's essentially duplicate content).
So from a technical perspective, it's essentially being used correctly. My concern is that when google suddenly sees thousands of pages double 302 redirecting, some kind of red flag will go up and we'll be penalized.
-
it's only bad if you want those pages to get ranked and there are links (internal or external) pointing to the referring URLs.
In other words, 302 redirects do not pass link juice as a 301 does. Unless you are no-indexing these pages anyway, it's just not a good idea. If it were me I'd wonder why we were using 302s at all? I've only ever used one once and that was because I didn't want the blackhat-SEO links coming over to the new domain... But this is a different case.
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
-
Pharma Hack/Grey hat SEO. Cannot get site to rank, tons of incoming bad links
I have been working on a website trying to get it to show up in the SERPs again. It is being indexed which is great, it has some errors that I'm fixing now. But for the most part it should be ranking. It don't show any penalties going on, but when I did a backlink search we keep getting the cialis, viagra etc inbound links. First thought was Pharma Hack. But it's not a WP site and I recently rebuilt it. So whatever bad code could have been there it's not anymore. It doesn't show up in google either for the search site:www.mysite.com viagra cialis etc... So I'm wondering if anyone has any insight in a direction to point me? I don't understand what would be causing this to still not rank. Only thing it ranks for is it's name. Any suggestions would be very appreciated.
White Hat / Black Hat SEO | | WeBuyCars.com0 -
Best practice to preserve the link juice to internal pages from expired domain?
This question relates to setting up an expired domain, that already has quality links, including deep links to internal pages. Since the new site structure will be different, what's the best practice to preserve the link juice to these internal pages? Export all the internal pages linked to using majestic Seo/ ahrefs etc, and set these pages previously linked to? Or 301 redirect these pages to home page? I heard there's a Wordpress plugin that 301 redirects all the 404 errors successfully preserving all the potential link juice.
White Hat / Black Hat SEO | | adorninvitations0 -
More pages is good for SEO? Is this true?
Hi Guys I have a question, I was told the more pages I have the better for SEO, Is this true?
White Hat / Black Hat SEO | | edward-may0 -
Ever seen this tactic when trying to get rid of bad backlinks?
I'm trying to get rid of a Google penalty, but one of the URLS is particularly bizarre. Here's the penalized site: http://www.travelexinsurance.com. One of the external links Google cited as not being natural that links to the penalized site is: http://content.onlineagency.com/index.aspx?site=6599&tide=769006&last=3111516 In the backlink profile of the penalized site, there are about 100 different backlinks pointing to www.travelexinsurance.com from content.onlineagency.com/... So when I visit http://content.onlineagency.com/index.aspx?site=6599&tide=769006&last=3111516 it actually is displaying content from http://www.starmandstravel.com/787115_6599.htm, which you can see after clicking the "Home" button. That company is a legit travel agency who I assume knows nothing about content.onlineagency.com and is not involved in whatever is going on. And that's the case for every link from content.onlineagency.com. So I'm just wondering if someone can help me understand what sort of tactic content.onlineagency.com is using. One of my predecessors I fear used some black hat tactics. I'm wondering if this is a remnant of that effort.
White Hat / Black Hat SEO | | Patrick_G0 -
Page 1 Ranking - Disappeared!
Hi All We launched our client's website http://rollerbannerscheap.co.uk in January this year. We have been building links making sure we are not over optmising anchor text and only following ethical SEO tactics. Our client's site eventually hit page 1 for it's main key word 'Roller Banner' 1 week ago, the site received impressions/clicks from the SERPS and has started to gain traffic from that particular keyword. I have checked today, and I cannot our client's website URL within the first 10 pages of Google, nevermind on page 1. Our client is currently undercutting competitiors on price, which we stated (the price) in the meta tag. Is it possible other SEOs could de-rank our website? If not, what would be a likely explaination for this occurance? Would just like to add, I recently build a link with anchor text 'Roller Banner Website, but one of my older links uses anchor text 'Roller Banners Cheap Website' - They're not exact match, but could this affect our ranking? Awaiting help Lewis
White Hat / Black Hat SEO | | SO_UK0 -
Pages Getting Deindexed
My Question Is I have 16 pages on my site that were all indexed until yesterday now there are only 3 indexed. I tried resubmitting my site map, and when i did it was the same result as before 3 pages indexed and 13 pages deindexed. I was wondering if someone could explain to me why this is happening and what I can do to fix it? Keep in mind my site is almost three months old, and this has happened before but, it fixed itself over time thanks.
White Hat / Black Hat SEO | | ilyaelbert0 -
Doorway Page? or just a flawed idea?
I have a website which is on a .co.uk TLD and is primarily focused to the UK. Understandably I get very little in the way on US traffic, even though a lot of the content is applicable to the UK or US and could be made more so with a little tinkering. The domain has some age to it and ranks quite well for a variety of keywords and phrases, so it seems sensible to keep the site on this domain. The .com version of the domain is no longer available, and the current owner does not seem inclined to sell it to me. So, I am considering registering a very similar .com domain and simply using it to drive some traffic to the .co.uk site. To do this, I would have the same category pages and the same (or similar) list of links to the various pages in those categories. But instead instead of linking to a page on the new .com, it would take visitors to the existing page on the .co.uk. I would make this transparent to visitors ("Take a look at these pages on our sister site bluewidgets.co.uk") and the .com would have some unique content of its own. Would this be considered some kind of Doorway site/page (content rich doorway), or is it simply bad idea which is unlikely to drive any traffic?
White Hat / Black Hat SEO | | Jingo010