![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2002
Posts: 1,053
|
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2001
Location: UK
Posts: 543
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |