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
-
Redirects, 301's & 404's
I have tons of links that I have had added a redirect to after creating my companies new website. Is it bad to have all these 301s? How do I permanently redirect those links? Also, on Google Search Console it's telling me I have 1,000+ excluded links. Is this bad? Will it negatively affect me? Is this something to do with my sitemap? Any help would be greatly appreciated 🙂
Technical SEO | | sammecooper0 -
Fundamental HTTP to HTTPS Redirect Question
Hi All I'm planning a http to https migration for a site with over 500 pages. The site content and structure will be staying the same, this is simply a https migration. Can I just confirm the answer to this fundamental question? From my reading, I do not need to create 301 redirect for each and every page, but can add a single generic redirect so that all http references are redirected to https. Can I just double check this would suffice to preserve existing google rankings? Many Thanks
Technical SEO | | ruislip180 -
301 Redirect question www to root.com
I have a site that has been up for a few weeks now and is currently in a www format and i am considering changing it to just mydomain.com I also have quite a few directory listings (including google places/bing) for this site w/ the www. url. If i do this, change it in my google analytics, and update my wordpress internal page + htaccess file. Will i lose any of the link juice i had from my www pages? Would this be something that would be advised since i've registered for many sites, or is there a potential that this could end up hurting me? Thanks,
Technical SEO | | tgr0ss0 -
Redirect link from a particular domain
Hi guys/gals, I have a few domains and blogs which I use really for a bit of fun and experimenting. One of the domains (abc.com) wasn't doing much but has a few decent links built to it. I redirected this domain to an active blog (123.com). Here's the problem: There's a particular external link to the homepage of abc.com which drives a lot of traffic but isn't relevant to the content of 123.com which it redirects to, causing a huge bounce rate from this link. Is there a way (maybe using using htaccess) that I can redirect traffic from this one link to another domain completely? I've contacted the owner of the external site but they are unable (or unwilling) to change the link. I hope I haven't lost you all but shout if you need any clarification. Thanks in advance!
Technical SEO | | Confetti_Wedding0 -
How to write 301 redirects in WordPress
I've successfully migrated new site to new domain (www.cmsearchmarketing.com) But I cannot get 301 redirects for pages and blog posts to redirect from the old domain (www.creativemindsearchmarketing.com). And it's my understanding I need to do a 301 for each page to maintain SEO. Here's what I've tried: RewriteCond %{QUERY_STRING} ^p=975$RewriteRule ^index.php$ http://www.cmsearchmarketing.com/top-5-questions-to-ask-an-seo-firm-before-signing-up/? [R=301,L] BEGIN WordPress<ifmodule mod_rewrite.c="">RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</ifmodule># END WordPress #AND ALSO# Use PHP5 Single php.ini as defaultAddHandler application/x-httpd-php5s .php BEGIN WordPress<ifmodule mod_rewrite.c="">RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</ifmodule># END WordPress redirect 301 /top-5-questions-to-ask-an-seo-firm-before-signing-up http://www.cmsearchmarketing.com/top-5-questions-to-ask-an-seo-firm-before-signing-up/ Any suggestions would be appreciated. _Cindy P.S. Maybe some other issues are in the way: --Old site is WP-Remix theme no longer supported, and latest WP version is 2.9.1 -- Old domain (www.creativemindsearchmarketing.com) is the primary account on BlueHost …and the new domain (www.cmsearchmarketing.com) is an addon, so the new domain's directory is within root of old domain. -- in root domain of old site there are other "handler files" that also have base file rewrites, if this is an issue: name of this file in root directory is:
Technical SEO | | CeCeBar
.htaccess.addHandlerBak -FrontPage- <limit get="" post="">order deny,allowdeny from allallow from all</limit><limit put="" delete="">order deny,allowdeny from all</limit>AuthUserFile /home/creatjo7/public_html/_vti_pvt/service.pwdAuthGroupFile /home/creatjo7/public_html/_vti_pvt/service.grp# BEGIN WordPress<ifmodule mod_rewrite.c="">RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</ifmodule> END WordPressAuthName creativemindsearchmarketing.comIndexIgnore .htaccess /.?? *~ *# /HEADER /README /_vti0 -
Video question
If another company hosts our videos, but they are only found embedded on our site, do we get all of the SEO benefits from the video, or would we have to host it for that to happen?
Technical SEO | | ClaytonKendall0 -
Redirects
Hello, My question is: how important is it to wait for the a redirect to get seen and cached before you take down the old page? More in depth: my old platform has seriously limited my ability to add sitemaps and make edits to htacces. I just want to change nameservers (which will delete everything on there) and upload the htaccess is that alright? Another way of saying it: when redirecting a page, is it necessary for google to see the old page before it is deleted? Thanks Tyler
Technical SEO | | tylerfraser0 -
Robots.txt question
I want to block spiders from specific specific part of website (say abc folder). In robots.txt, i have to write - User-agent: * Disallow: /abc/ Shall i have to insert the last slash. or will this do User-agent: * Disallow: /abc
Technical SEO | | seoug_20050