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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-15-2020, 01:41 AM   #1
grzepa
Confirmed User
 
Join Date: Jul 2004
Posts: 1,195
Is this doable ?

I have a considerable amount of type-in traffic on a domain let's say fuckass.com
is it possible to set it up so the traffic is split and sent to 3 different URLs ? Like 30% first url 30% second and so on.
I send it to a sponsor paysite tour but it recently stopped converting, so I'd like to test other tours but changing the URL forwarding manually @ registrar is quite time-consuming.
__________________
Like X-ART !!
grzepa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2020, 02:22 AM   #2
xxx6live
Confirmed User
 
xxx6live's Avatar
 
Industry Role:
Join Date: Dec 2012
Location: Scandinavia
Posts: 279
Just generate a random number from 1 to 3, then redirect to one of 3 sponsors depending on the number. Can be done in a few lines of PHP like below (or JavaScript). With enough traffic each should have about the same traffic in the end.

Quote:
$rnd = mt_rand(1,3);
switch ($rnd) {
case 1:
header("Location: https://sponsor1", true, 302);
break;
case 2:
header("Location: https://sponsor2", true, 302);
break;
case 3:
header("Location: https://sponsor3", true, 302);
break;
}
xxx6live is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2020, 06:07 AM   #3
zijlstravideo
Confirmed User
 
zijlstravideo's Avatar
 
Industry Role:
Join Date: Sep 2013
Location: The Netherlands
Posts: 805
Assuming it's an old domain and there might be some old links pointing to "dead pages/dead links" on that domain, you might as well copy the code above and paste it in a 404.php file as well.

Then in your htaccess file add:
ErrorDocument 404 404.php

Which makes all dead links redirect too.
__________________
Contact: email
zijlstravideo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2020, 11:30 AM   #4
grzepa
Confirmed User
 
Join Date: Jul 2004
Posts: 1,195
Quote:
Originally Posted by xxx6live View Post
Just generate a random number from 1 to 3, then redirect to one of 3 sponsors depending on the number. Can be done in a few lines of PHP like below (or JavaScript). With enough traffic each should have about the same traffic in the end.
thanks, I've created a index.php file, but after browsing it gives me this: https://nurufilms.com/1/
__________________
Like X-ART !!

Last edited by grzepa; 06-16-2020 at 11:31 AM.. Reason: fsdfsdfsdfsdfsdfsdf
grzepa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2020, 11:52 AM   #5
xxx6live
Confirmed User
 
xxx6live's Avatar
 
Industry Role:
Join Date: Dec 2012
Location: Scandinavia
Posts: 279
Quote:
Originally Posted by grzepa View Post
thanks, I've created a index.php file, but after browsing it gives me this: https://nurufilms.com/1/
Sorry, try putting

Quote:
<?php
at the very first in that file, before anything else.
xxx6live is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2020, 12:18 PM   #6
grzepa
Confirmed User
 
Join Date: Jul 2004
Posts: 1,195
thanks a lot man, works fine now !
__________________
Like X-ART !!
grzepa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
traffic, 30%, url, send, sponsor, paysite, time-consuming, tour, recently, converting, forwarding, changing, manually, registrar, tours, test, stopped, type-in, domain, amount, considerable, doable, urls, split, fuckass.com



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.