21

Which word is correct and what do they mean?

I've seen $_SERVER['HTTP_REFERER'] (PHP), but I have also seen referrer in can I forward “referrer” information to other address? and referral on the Wikipedia article about referral marketing.

genesis
  • 2,459

2 Answers2

18

Let's start with an example from the "real world". When a doctor refers the patient to a specialist, the doctor is giving this person a referral to a specialist. When the patient then sees the specialist, that specialist could think of the original doctor as the patient's referrer.

So, in my opinion the more suitable HTTP term for the URL that brought the user to the current web page is referrer. It is like if that previous URL gave the user the referral to the current page and is therefore the user's referrer to it.

And referer is just a misspelling of referrer.

b.roth
  • 21,782
  • AAAh. So it's just their "custom" English word, isn't it ? – genesis Jul 07 '11 at 08:00
  • 1
    Yes, referrer and referal are both common English words that are used outside the Internet/HTTP context. As for HTTP_REFERER, I believe referer came as a misspelling of referrer. – b.roth Jul 07 '11 at 08:04
  • 13
    Yes, HTTP_REFERER is an unfortunate case of a misspelling being set in stone by putting it in a stanard (namely RFC 1945). – Joachim Sauer Jul 07 '11 at 09:01
  • @roth, With respect to your doctor example what will the specialist be called? Is the specialist also called the referral? –  Jan 10 '13 at 21:20
2

Edit:
"Referrer" and "Referral" refers to different things.

"Referrer" is something or somebody who refers.

"Referral" is the act of referring.

A referral occurs when a referrer refers something. Semantic Satiation

"referer" :

Computing Dictionary
referer definition
World-Wide Web
A misspelling of "referrer" which somehow made it into the HTTP standard. A given web page's referer (sic) is the URL of whatever web page contains the link that the user followed to the current page. Most browsers pass this information as part of a request.
(1998-10-19)

Thursagen
  • 41,919
  • I don't want to know what "Referral marketing" is. But thanks, i'll read it all – genesis Jul 07 '11 at 07:49
  • Those examples I given are only to demonstrate where I have seen it. I just want to answer what "Referrer", "Referral", "Referer" mean – genesis Jul 07 '11 at 07:51