Unstoppable Domains

.mobi How To Differentiate IP from Mobile or PC?

Spaceship Spaceship
Watch

newsiness

VIP Member
Impact
49
I am planning to develop another mobile site.
When mobile users browse the site url it redirects to mobile friendly site.
When pc users browse the same site url it redirects to normal site which is not mobile friendly.

How to achieve this? Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
Hmm, it is a bit more complex than that... what you have to do is use PHP, Java or any programming language to detect the HTTP HEADER of the navigator, then you check to see if it is mobile or web, then you use URL redirect. :blink: The IP of course will be always the same, so you can not rely on that for detection.

Cheers,
 
0
•••
0
•••
You can't do it based on IP address alone, because some of the new mobile devices (iPhone included) use regular wifi networks. We have to rely on reading the browser reports on.

Here's a super easy php script that mTLD has provided,
http://dev.mobi/node/472

Good luck,

RJ
 
0
•••
Thanks for the tips...really appreciate that..:)
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back