Redirection Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PornoDoggy
    Confirmed User
    • Jun 2002
    • 1053

    #1

    Redirection Help

    I want to redirect people coming to my websites/galleries based on a couple of possibilities ... the presenece of certain code in outgoing links on the page, or the structure of the html of the page sending the traffic. Is that possible?
  • richard
    Confirmed User
    • Feb 2001
    • 543

    #2
    possible, but involved if you wanna do a really tight job of it.

    If you want to check the pages real time, then its going to be slow (your server has to get the refering page, parse it, find your redirect factors).

    You could reduce that lag by checking refering pages every X minutes/hours.

    If you wanna do it on the fly, you gotta GET the refering page the first time it shows up, then after that send HEAD requests to see if its changed since the last time you checked it.

    Could get messy with lots of traffic from lots of traffic sources...

    Rich.

    Comment

    Working...