Question concerning a 302 Redirect
-
Hi!
I've already done some research on redirects, but I still have a question concerning a 302 redirect implemented at the homepage of a website.
The Website www.domainA.com has a 302 redirect to www.domainA.com/content/.... Also all subsequent pages have the /content/ directory in their URLs: e.g domainA.com/content/products
-
First thing I was wondering about, was the use of a redirect to a new site using an additional directory /content/... Why would anyone do this? Would it be enough to replace the 302 with a 301 redirect, or would you recommend to change the entire structure and eliminate this /content/ directory? The most logical structure would be www.domainA.com/products/.., and not www.domainA.com/content/products, right?
-
Second thing: Given that 302 means temporary redirect, what are the actual implications when redirecting from domainA.com to domainA.com/content? I've heard that 302 redirects don't pass linkjuice and are detrimental for the site's rankings... What are the actual implications concerning the example above (302 redirect from domainA.com to domainA.com/content ?
Would be great to get some advice about the first problem and maybe some insights about the second one concerning 302s in general.
Thanks in advance!
Cheers,
Chris
-
-
That's fine, I think in that case, they didn't really know why they did it, so it will certainly help them to know, that there's better options around.
Thanks again for your insights and time, you helped me a lot with that one!
Cheers,
Chris
-
I am in agreement with you Christoph.
I do not see any value in adding a "content" directory. From a user stand point, it is not helpful.
The only reason to have a /content directory is if there is a need for it on the server. Sometimes there is shared hosting involved or other considerations that I am not aware of, so I prefer not to criticize others for their choices without knowing all the facts that their decision was based upon.
-
Hi Ryan,
thanks for your reply and your view on this. I think I've already read the article by Matt Cutts, but as I've been working in SEA so far, the technical aspects of SEO are still the area where I have to catch up the most. But you've definitely helped me with that one
Coming back once again to the actual website, that I mentioned. Concerning the /content/ directory, you said that it would depend on the perspective. What I meant with "The most logical structure would be www.domainA.com/products/.., and not www.domainA.com/content/products, right?" was that the /content/ directory may be detrimental for the ranking of sub-pages, as subsequent pages, which are lower in the hierarchy like domainA.com/content/products/shoes would be one level deeper than if it was domainA/products/shoes. In the former case, the sub-page "Shoes" would be one click further away than in the latter. So for the sub-page "shoes" it would be "better" to be located one level up, right?
In the specific case, the homepage is permanently redirected from domainA.com to domainA.com/content/, but they did it with a 302 redirect.
So in this case it would be better to use a 301 or change the URL structure, so that no redirect is necesary (e.g: domainA.com/products/shoes). Would that be suitable options according to you?
-
There are many great pages written on this topic. An older but relevant article from Matt Cutts: http://www.mattcutts.com/blog/seo-advice-discussing-302-redirects/
In short, a 302 would only ever be used if the move was temporary. You are correct in that they do not pass a link's value. I would only use a 302 to resolve a temporary problem.
A 301 passes 90%+ of the link's value, but there is some loss. That is why you would prefer not to use it, especially if the move was temporary. Using multiple 301s in a chain can be especially bad for this reason.
First thing I was wondering about, was the use of a redirect to a new site using an additional directory /content/... Why would anyone do this?
There are some very good reasons. It sounds like they originally had the site located in the root directory of their web server, and did a re-organization of their file structure. Their site is now contained in the content directory. Perhaps they set up a new CMS which required this change.
The most logical structure would be www.domainA.com/products/.., and not www.domainA.com/content/products, right?
It depends on your perspective. For example, if you have a WordPress blog site or other CMS paired with forum software, then the wordpress site is often set up at the root domain. The forum software would be in a directory such as /forums or perhaps /content. If it was my site then the products would be located off the root directory as you suggest, but others could certainly offer it within the /content directory.
what are the actual implications when redirecting from domainA.com to domainA.com/content?
It depends. A well established site will often have a lot of link value for their home page. That value would be lost with the 302. There is nothing specifically detrimental per se. It is more of missed opportunities.
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
-
Detailed ranking question for the pros
Hi Community, We've been struggling with the search engine ranking of our SEO optimised homepage for a number of months. I'm going to provide an overview of the page stats in hope that somebody might have a suggestion as to what the problem might be or where we should be focusing our efforts. I have also provided the stats of our main competitor as I have no idea why they are ranking so high based on the stats provided: URL in question: https://mysite.com On Page Grade for our targeted keyword: A Domain authority: 36 Page authority: 45 Root Doman Links: 57 Total Links: 634 SE Ranking: #17 Competitor URL in question: https://competitorsite.com On Page Grade for same targeted keyword: A Domain authority: 32 Page authority: 43 Root Doman Links: 28 Total Links: 919 SE Ranking: #1 Another strange this about our homepage is that a second tier page on our site is actually ranking higher in the search ranking for the Targeted Keyword (#9), even though this page has not been optimised and has an On Page Grade of F. Does anybody have any suggestions of what we might be overlooking or what the issue here might be? -JF
Technical SEO | | ERpro0 -
301 and 302 for same link
Just trying to find out if this may be the root of a slight traffic dip and also if we should be redirecting differently. We relaunched and did 301 redirects to the new site, initially. Then, we decided to change from http to https. Our HTTP status now looks like this when using the MozBar: HTTP/1.1 301 Moved Permanently – http://site.com/oldurl
Technical SEO | | MichaelEka
HTTP/1.1 302 Found – https://site.com/oldurl
HTTP/1.1 200 OK - https://site.com/new Should we be changing that 302 to a 301? Are we losing link equity due to this? Thanks.0 -
What can I do with 8000+ 302 temporary redirects?
Hi I'm working on a clients site that has an odd structure with 8000+ 302 temporary redirects. They are related to actions on the site (they have to be there and work this way for the site to function) but they also have a stupid number of perameters. Would it be ok to block them all in the robots.txt file? Would that make any difference?
Technical SEO | | TomVolpe0 -
Should I do a 301 redirect
Hi Everyone, Hope you can help me out here. I have .co.uk & .ie website with similar content. On a particular section of the .co.uk website it is updated daily (Q&As, Blog posts etc) .ie does have this section but to a lesser degree, no daily updates etc, I was wondering if we should simply do a 301 redirect when someone is on the .ie website to .co.uk, it means the user is getting a much better experience however not entirely the consequences from search engines on this? Thanks
Technical SEO | | Paul781 -
IP redirects
My website, on a .com domain, displays a different language/content depending on the IP of the user. For example, if someone is browsing my web from Spain, it will show the spanish content, and so on. Does anyone has an idea on how will Google index my pages? Their servers being located in the US, I assume the bot will only crawl and index the english content. How can I tell the bots to do the same for the other languages/content? Thanks!
Technical SEO | | Alemoto0 -
How can I perform this 301 redirect?
I am working on a site for a colleague and have installed wordpress on their server in the wp directory, they want the root domain redirecting to the wp directory but everything i have tried seems to throw up errors. i need sample.co.uk to redirect to sample.co.uk/wp/ no matter which html file they are trying to access on the root of the sample.co.uk site help?
Technical SEO | | GrassRootsSEO0 -
Robots.txt question
What is this robots.txt telling the search engines? User-agent: * Disallow: /stats/
Technical SEO | | DenverKelly0 -
301 redirects inside sitemaps
I am in the process of trying to get google to follow a large number of old links on site A to site B. Currently I have 301 redirects as well a cross domain canonical tags in place. My issue is that Google is not following the links from site A to site B since the links no longer exist in site A. I went ahead and added the old links from site A into site A's sitemap. Unfortunately Google is returning this message inside webmaster tools: When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL. However I do not understand how adding the redirected links from site B to the sitemap in site A will remove the old links. Obviously Google can see the 301 redirect and the canonical tag but this isn't defined in the sitemap as a direct correlation between site A and B. Am I missing something here?
Technical SEO | | jmsobe0