Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Re-direct with 301 or 302
Old 05-13-2010, 10:37 AM Re-direct with 301 or 302
Junior Talker

Posts: 1
Name: Greg Frith
Trades: 0
Hi,

A website I look after is able to provide discounts to affinity partners on products we sell. When a user lands on our site as a referral from one of these affinity partners, we use a URL parameter 'afid' to recognise the partner and brand and discount our sites products accordingly.

Once the user hits the site and the affinity partner ID is recognised and stored in the users session, I do a redirect back to the same url (usually just the homepage) without the afid parameter. This is done largely just to tidy up the URL.

Now, I currently do this as 302 redirect, but a SEO agency working on behalf of my client has suggested this should be a 301 redirect. I'm not convinced however, because as I understand it, if I use a 301 redirect then I'm saying to the client always you the URL without the afid parameter in the future, which would cause me to not recognise them as an affinity partner.

Just to be clear, I'm redirecting from www.example.com/?afid=abc to www.example.com.

All I want to do is say 'yep that url is fine, i recognise you as an affinity partner and have tagged your session accordingly, now here's a tidier url for you to view my site from'.

Does anyone have any advice on the correct response code for the redirect in this case?

:wq
G
familymangreg is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-13-2010, 03:02 PM Re: Re-direct with 301 or 302
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Either will do equally well.

HOWEVER what the "SEO agency" is saying is essentially correct but I would suspect they are suggesting it for the wrong reaons.

Sending a 302 response will keep the affiliate ID URI in the SEs index, this could possibly mean that the affiliate ID may be shown in SE results and that could mean affiliates being credited with a visitor incorrectly.
A 301 response will not have this potential problem.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-27-2010, 03:53 PM Re: Re-direct with 301 or 302
Average Talker

Posts: 20
Trades: 0
Definitely do the 301.. If you do, then google will count that affiliate link towards the main top level domain instead of the affiliate page. This is a great way to make sure that every single affiliate link is helping even if no one is ordering from it.

Matter of fact, you should be using 301's to redirect non-www to www or which ever url scheme you've chosen so that all links count towards the correct domains.
__________________

Please login or register to view this content. Registration is FREE
- Awesome Price, Awesome Support, Awesomely Awesome...


Please login or register to view this content. Registration is FREE
- Web Development, E-Commerce, SEO, SMM, CMS's
holmessph is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Re-direct with 301 or 302
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41217 seconds with 12 queries