WordPress.org

Ready to get started?Download WordPress

Forums

CG-Referer: Links with Titles (4 posts)

  1. davidchait
    Member
    Posted 9 years ago #

    Hmmm... I don't believe there is any particular way to find out the actual name of the referring site. The referrer data is just the address/link itself. I'd be interested to hear of any script that can work that particular magic!
    The misspelling of referer is something I picked up from others... And I've just kept it. Every now and then I clean it up bit by bit in the code.
    -d

  2. Sphyr
    Member
    Posted 9 years ago #

    Switching hosts, I ended up with the blogtrick javascript. It does indeed show the page title of the referrer. I'll keep it running on my site for a few days if you want to peek at it.

  3. Beel
    Member
    Posted 9 years ago #

    d- The fault for the misspelling lies with the developers of PHP. Once they let it slip by, not much could be done about it without "breaking" a slew of PHP programs!

  4. davidchait
    Member
    Posted 9 years ago #

    If you can point me to the javascript, I can look at what tricks it is doing. It might be it does a http-get of the referring URL, and looks for the title in the meta tags of the HTML, and caches it off or something.
    The major reason that, by default, CG-Referrer doesn't do clickable links is to discourage/eliminate refererrer spam, as sites don't publish actual links back. Of course, with all the anti-spamming stuff it now has built-in, it is much harder to spam repeatedly.
    -d

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.