Do mobile browsers get auto-redirected?

3 replies
Hi;

I'm working on a local project that will get 90% of its traffic from smartphones. I've never created a mobile site so am unsure what causes the website to switch depending on what type of computing devices used.

Will I need a .mobi extension? Or does that not cause an auto redirect? If it doesn't, I would prefer to create a.com that is mobile focused (since the desktop/laptop traffic for this site is near irrelevant)
#autoredirected #browsers #mobile
  • Profile picture of the author Brandon Tanner
    It doesn't matter what kind of domain or subdomain you use... if you want mobile browsers to get redirected to a specific page, then you have to install a 'mobile redirect' script on your site.

    This is normally done with either PHP or Javascript (PHP being the most reliable, as a small percentage of your visitors will have Javascript disabled). And the detection is normally done in one of two ways... by 'user agent' (most reliable, but more code involved), or by 'screen size' (simpler code, but less reliable).

    Google 'mobile redirect script' ... lots of options out there.

    Also, if you have any other mobile-related questions, you'll get better responses in the Mobile forum.
    Signature

    {{ DiscussionBoard.errors[7759277].message }}
  • Profile picture of the author Tim_Carter
    The screen size one doesn't work so well anymore. It usually checks for < 600px as that was the size of many tablets. However with the new Android phones having bigger screens it doesn't work anymore in many cases.

    Go with user agent switching.
    {{ DiscussionBoard.errors[7759595].message }}
  • Profile picture of the author redexclub
    a responsive / fluid website could be better, because you may have some other visitors who are from ipad or large screen monitors.

    most people using m.domain.com or mobile.domain.com for the mobile site, these kinds of subdomain help users to understand what they are visiting. but actually thats not a matter for the project

    a php mobile redirection script will redirect your visitor to where ever you want, they will not care about domains
    {{ DiscussionBoard.errors[7760070].message }}

Trending Topics