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 |
12-28-2021, 05:44 AM | #1 |
Confirmed User
Industry Role:
Join Date: Sep 2002
Location: Music City
Posts: 127
|
Affiliate link hiding
Is there a script that does affiliate link hiding and counting of out-clicks? I could do this with a traffic trade script, but that is more software than I really want, or I could write it myself, but I have enough on my plate already; I'd rather buy a script...
|
12-28-2021, 06:18 AM | #2 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,234
|
There used to be one free script but it was terribly written and using it on big traffic would backfire. I am sure there are other scripts which doing same, but writing it on your own is so trivial so that is better choice anyway.
|
12-28-2021, 08:28 AM | #3 |
Confirmed User
Industry Role:
Join Date: Sep 2002
Location: Music City
Posts: 127
|
Yeah, you are probably right. I guess I'll get to work... :D
|
12-28-2021, 08:55 AM | #4 |
Confirmed User
Join Date: Jan 2003
Posts: 930
|
Maybe a short url script? I use one off codecanyon for link tracking.
|
12-28-2021, 09:45 AM | #5 |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 657
|
If all you want is a basic way to to hide the link code from the visitor and count the clicks it's as simple as something like:
yoursite.com/link.php?url=pornosite.org link.php: <?php $url = $_GET['url']; $file = $url; $hit = file_get_contents ($file); $hit = intval($hit) + 1; file_put_contents($file, $hit); header('Location: https://www.'.$url.'/affiliatecodestuff=123456'); ?> Obviously you can add to that with more security or logging, preventing the same IP registering more than once, etc.
__________________
__________________ |
12-28-2021, 03:03 PM | #6 |
Pounding Googlebot
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,400
|
You could use .htaccess if you're not looking for anything overly complex.
WG
__________________
I play with Google. |
12-29-2021, 05:39 AM | #7 |
Confirmed User
Industry Role:
Join Date: Jul 2021
Posts: 690
|
you could use easiest solution like bit.ly
__________________
Karina BizDev [email protected] Skype: live:.cid.7d95e0d34c22e951 Telegram @kerili |