![]() |
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. |
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:
|
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. |
Quote:
|
Quote:
Quote:
|
thanks a lot man, works fine now !
|
All times are GMT -7. The time now is 09:02 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123