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
-
301 Redirect for multiple links
I just relaunched my website and changed a permalink structure for several pages where only a subdirectory name changed. What 301 Redirect code do I use to redirect the following? I have dozens of these where I need to change just the directory name from "urban-living" to "urban", and want it to catch the following all in one redirect command. Here is an example of the structure that needs to change. Old
Technical SEO | | shawnbeaird
domain.com/urban-living (single page w/ content)
domain.com/urban-living/tempe (single page w/ content)
domain.com/urban-living/tempe/the-vale (single page w/ content) New
domain.com/urban
domain.com/urban/tempe
domain.com/urban/tempe/the-vale0 -
Google not using redirect
We have a GEO-IP redirect in place for our domain, so that users are pointed to the subfolder relevant for their region, e.g: Visit example.com from the UK and you will be redirected to example.com/uk This works fine when you manually type the domain into your browser, however if you search for the site and come to example.com, you end up at example.com I didn't think this was too much of an issue but our subfolders /uk and /au are not getting ranked at all in Google, even for branded keywords. I'm wondering if the fact that Google isn't picking up the redirect means that the pages aren't being indexed properly? Conversely our US region (example.com/us) is being ranked well. Has anyone encountered a similar issue?
Technical SEO | | ahyde0 -
Redirecting Canonical Hostnames
Hi, I want to rewrite all the url pages of "site.com" to "www.site.com". I read the moz redirection article and i concluded that this would be the best approach. RewriteCond %{HTTP_HOST} !^www.seomoz.org [NC]
Technical SEO | | bigrat95
RewriteRule (.*) http://www.seomoz.org/$1 [L,R=301]. But i recieved this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I tried this rewrite too... RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301] It worked but it just rewriting my domain** "site.com"** and not all the subs "site.com/fr/example.php" to "www.site.com" Why it doesn't work properly, it seem to be easy... Could it be a hosting problem? Is there another way to do it? <address> </address> <address> </address> <address> </address> <address> </address>0 -
What to do with a 302 redirect after a while
Hi guys, A client of ours has a website with a very bad linkprofile. We adressed this issue and we migrated the website to another domain. We redirected the bad website (cornelisbedding.be) to the new domain (cornelisbedding.com) with a 302 redirect. We didn't want to pass the bad link juice. The problem we are having now is that we can't afford to lose the redirect on cornelisbedding.be. We would lose to much traffic because the old domain still has alot of links that generate good quality traffic. I have read that Google will treat 302 redirects as 301's in the long run. We really want to avoid this.
Technical SEO | | Jacobe
We were thinking of using a meta refresh with a delay on, but in Google's eyes that would be considered spammy. Are their any other suggestions on how to handle this? Thanks you!0 -
301 Redirect Help
How would you 301 redirect and entire folder to a specific file within the same domain? Scenario www.domain.com/folder to www.domain.com/file.html Thanks for your Input...
Technical SEO | | dhidalgo11 -
New Website and Domain Question
Hi all, I am launching a new website around the end of October and I have purchased a great domain to use for it. My question is should I put some kind of holding page up to try and start building up some domain authority in preperation for launch? Or maybe a blog at www.domain.com/blog and then keep all the blog content at the same location when the full site goes up? Or is it best to wait and just launch the site when the first version is complete? Thanks, Ben
Technical SEO | | BenInder0 -
Domain redirect seo
Hello, my domain www.pacomarca.com and when i start the new campaing i get this pronblem: We have detected that the domain www.pacomarca.com and the domain pacomarca.com both respond to web requests and do not redirect. Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here. my domain is in networksolutions.com. how can i resolve it? many thanks Gonzalo
Technical SEO | | Kuna0 -
Domain Redirect Issues
Hi, I have a domain that is 10 years old, this is the old domain that used to be the website for the company. The company approximately 7 years ago was bought by another and purchased a new domain that is 7 years old. The company did not do a 301 redirect as they were not aware of the SEO implications. They continued building web applications on the old domain while using the new domain for all marketing and for business partner links. They just put in a server level redirect on the folders themselves to point to the new root. I am on Tomcat, I do not have the option of a 301 redirect as the web applications are all hard coded links (non-relative) (hundreds of thousands of dollars to recode) After beginning SEO; Google is seeing them as the same domain, and has replaced all results in Google with the old domain instead of the new one..... My questions is.... Is it better to take the hit and just put a robots.txt to disallow all robots on the old domain Or... Will that hurt my new domain as well since Google is seeing them as the same? Or.... Has Google already made the switch without a redirect to see these as the same and i should just continue on? (even the cache for the new site shows the old domain address) Old Domain= www.floridahealthcares.com New = www.fhcp.com *****Update after writing this I began changing index.htm to all non relative links so all links on the old domain homepage would point to fhcp.com fixing the issue of the entire site being replicated under the old domain. I think this might "Patch" my issue, but i would still love to get the opinion of others Thanks Shane
Technical SEO | | Jinx146780