Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have the following URL for affiliates:

http://www.mydomain.com/affiliates/partners/partnerName.do?url=http://www.mydomain.com/product/3

The value of url will change all the time.

For this, I have used a 302 redirect. I chose to do this because http://www.mydomain.com/affiliates/partners/partnerName.do can be redirected to several pages (because the url parameter can equal anything) and not just one page. I believe this is the correct thing to do, but someone from our marketing department told me not to use 302 redirects and to use a 301 redirect, because several SEO articles say 302 redirects are bad. I just want to confirm that the 302 redirect is the proper redirect to use for this particular case.

share|improve this question

2 Answers 2

up vote 11 down vote accepted

302 redirects aren't bad for SEO as they are probably the most common redirect in use today. In fact, PHP's header() function sends the 302 HTTP response by default.

Here's what Matt Cutts had to say about 302 redirects. Basically they are fine and Google will find and index those links properly. It looks like Google will show the original URL instead of or in addition to the redirected URL. Yahoo does the same and Bing will show the redirected URL.

share|improve this answer
    
From a technical perspective, 302's are the correct redirect, though, right? –  Bradford Jun 16 '11 at 14:48
    
@Bradford From what I read I would say, yes, that is the correct response header to send –  John Conde Jun 16 '11 at 14:49

If you wish to redirect some pages temporarily, then I would recommend 302 redirection and if you wish to redirect permantely I would recommend using 301 redirect.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.