Maybe "referer" has become established, but it really is a misspelling, and the spelling "referrer" is right. If English spelling were less perverse, and there were no silent-e rule, it would not be an issue, because the spelling would be "referr", not "refer" (part of the problem, one operative to this day, is a tendency to use too few letters!). Note the general lack of double final consonant-letters, because of which it is needful to do something to relieve the consequent ambiguity, resolved by the silent e. It would be better to write "barr" and "bar" instead of "bar" and "bare", "spatt" and "spat" instead of "spat" and "spate", "tapp" and "tap" instead of "tap" and "tape", and so on. When these take suffixes that begin with vowel letters, the consonant letters double and the "e"s disappear.
Family names show such final letters, Mudd, Carr, .... and three-letter long words, "ebb", "egg", "inn", "odd".
