Forum Moderators: phranque

Message Too Old, No Replies

302 redirect

subdomain redirect

         

KevinLP

8:05 am on Aug 4, 2011 (gmt 0)

10+ Year Member



Hi,

maybe somebody can shed some light.

I found a site that uses subdomains and is listed pretty well in google for both the subdomain and the www. But all their subdomains are redirected via 302 to a sub-directory.
eg.

sub.domain.com is listed but when clicked it redirects to www.domain.com/sub
These are 302 redirects according to redirect checker.

Would this not cause duplicate content? If so, why are they listed so well?

Any ideas?

phranque

12:45 pm on Aug 4, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



this would be normal and typical SE behavior.
a 302 is considered a temporary redirect, so the requested url is indexed using the content from the redirected url.
it's not duplicate because only one url is indexed.

g1smd

7:26 pm on Aug 4, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Google used to make a right mess of indexing 302 redirects, but has got a lot better in recent years.

There are still risks and I wouldn't do it like that if it could be avoided.

phranque

9:49 pm on Aug 4, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



there are limited cases where the 302 is the correct response.
however, i would agree with g1smd and prefer a solution where a 302 is not the correct answer.

KevinLP

7:02 am on Aug 5, 2011 (gmt 0)

10+ Year Member



Thanks for the responses. I will have to look for another way to handle the sub domains then and not use the site as an example then.

Much appreciated.