Lan Ser Ek
Banned - Selling via PM
- Sep 9, 2022
- 23
- 56
A few years ago I used a simple redirect PHP script that redirects users entering my URL to totally different URLs based on if they entered this on a mobile or desktop device.
The script was written in such a way that I could just replace the links in it to make this work with a code looking like a:
if mobile; mymobilesite.com
else; mydesktopsite.com
Now I'm searching for such a thing but I can't find it. I can only find a script that displays the different variations of the site on mobile devices but I want the domain name to be JUST A REDIRECT that is forwarding the traffic to 2 splited different URLs of different websites. Can someone share with me this kind of working PHP URL redirection script?
The script was written in such a way that I could just replace the links in it to make this work with a code looking like a:
if mobile; mymobilesite.com
else; mydesktopsite.com
Now I'm searching for such a thing but I can't find it. I can only find a script that displays the different variations of the site on mobile devices but I want the domain name to be JUST A REDIRECT that is forwarding the traffic to 2 splited different URLs of different websites. Can someone share with me this kind of working PHP URL redirection script?