Load different homepage depending on mobile/laptop?

xLucky7

Regular Member
Joined
May 17, 2013
Messages
253
Reaction score
56
Anyone know how to do this? I want to be able to detect if someones on a mobile device and if so, link them to another page of my site and put a content locker. I dont want to just have it on the whole site but just a page where i link the mobile users to.

Any easy way to do this? Im just starting with this stuff
 
do a quick Google search for "mobile detection script" and you'll see plenty of free ones out there already. Find one written in PHP (as opposed to Javascript) and you can use the PHP redirect function on page load if mobile.
 
Last edited:
Is there a reason why you suggest the php one instead of Java? I found the java one and was gonna try that (since I took some classes) on it, so I was just gonna use that.
 
Back
Top