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
-
Inbound Links - Redirect, Leave Alone, etc
Hi, I recently download the inbound links report for my client to look for some opportunities. When they switched to our platform a couple years ago, the format of some of their webpages change, so a number of these inbound links are going to an error page and should be redirected. However, some of these are spammy. In that case, someone recommended to me to disavow them but still redirect anyway. In other cases, some were "last seen" a year or two ago, so when I try to go to the URL the link is coming from, I also get an error page. Should I bother to redirect in these cases? Should I disavow in both cases? Or leave them alone? Thanks for any input!
White Hat / Black Hat SEO | | AliMac261 -
Canonical tag On Each Page With Same Page URL - Its Harmful For SEO or Not?
Hi. I have an e-commerce project and they have canonical code in each and every page for it's own URL. (Canonical on Original Page No duplicate page) The url of my wesite is like this: "https://www.website.com/products/produt1"
White Hat / Black Hat SEO | | HuptechWebseo
and the site is having canonical code like this: " This is occurring in each and every products as well as every pages of my website. Now, my question is that "is it harmful for the SEO?" Or "should I remove this tags from all pages?" Is that any benefit for using the canonical tag for the same URL (Original URL)?0 -
Rank product pages
What are the best ways to rank your product pages, We have a few ecommerce sites and we want to increase the position of both our product and catagory pages. I know that gaining more popularity will help to increase the DA but I want my product pages to rank higher.
White Hat / Black Hat SEO | | Johnny_AppleSeed0 -
Ajax Pagination on Ecommerce category pages - Good or Bad?
We have an ecommerce site. We installed an AJAX feature that when you scroll down to say, the end of 6 rows of products, it loads another page below the seam. Question is, is this good or bad for SEO? Any tests you can suggest? Thanks Ben
White Hat / Black Hat SEO | | bjs20100 -
Creating pages as exact match URL's - good or over-optimization indicator?
We all know that exact match domains are not getting the same results in the SERP's with the algo changes Google's been pushing through. Does anyone have any experience or know if that also applies to having an exact match URL page (not domain). Example:
White Hat / Black Hat SEO | | lidush
keyword: cars that start with A Which way to go is better when creating your pages on a non-exact domain match site: www.sample.com/cars-that-start-with-a/ that has "cars that start with A" as the or www.sample.com/starts-with-a/ again has "cars that start with A" as the Keep in mind that you'll add more pages that start the exact same way as you want to cover all the letters in the alphabet. So: www.sample.com/cars-that-start-with-a/
www.sample.com/cars-that-start-with-b/
www.sample.com/cars-that-start-with-C/ or www.sample.com/starts-with-a/
www.sample.com/starts-with-b/
www.sample.com/starts-with-c/ Hope someone here at the MOZ community can help out. Thanks so much0 -
Can a Page Title be all UPPER CASE?
My clients wants to use UPPER CASE for all his page titles. Is this okay? Does Google react badly to this?
White Hat / Black Hat SEO | | petewinter0 -
What do you think of our new category page?
Hey Mozzers! We have come up with a new layout design for a category page and would love to have your opinion on it, specifically from an S_E_O perspective Here is our current page: http://www.builddirect.com/Laminate-Flooring.aspx Our new page (pending approval): http://www.builddirect.com/testing/laminate-flooring/index.html Just to brief you in on the key differences b/w old and new layout: Left text link menu is removed in new layout
White Hat / Black Hat SEO | | Syed1
New layout looks funny with JS disabled - long vertical line up of products(Perhaps important keywords/ content in new layout appears way down?)
Lot of 'clunk' has been removed (bits of text, links, images, etc) Thanks for checking this out.0 -
User comments with page content or as a separate page?
With the latest Google updates in both cracking down on useless pages and concentrating on high quality content, would it be beneficial to include user posted comments on the same page as the content or a separate page? Having a separate page with enough comments on it would he worth warranting, especially as extra pages add extra pagerank but would it be better to include them with the original article/post? Your ideas and suggestions are greatly appreciated.
White Hat / Black Hat SEO | | Peter2640