2 replies
  • WEB DESIGN
  • |
Say they have a full and mobile site and I want to sell them SEO services that start with re-designing their pages and doing a bunch of SEO for better search results. Say they buy into it. What exactly do I need to think about as far as getting their domain names to put in my server? Also, A mobile website can be re-directed when one tries to use the domain name on a mobile device correct? I just don't completely understand how the mobile site domain names work. Thank you.
#mobile #pages
  • Profile picture of the author WebMarketingTool
    For the topic of redirecting to another page/site visitors that are from a mobile site, yes, it is possible. Below is the code I use. There is other code that accurate in redirecting mobile visitors, but also much longer and this code from my experience redirects all the visitors to my site.

    <?php
    $yourURL = "YOUR-MOBILE-SITE.COM";

    if(! empty($_SERVER['HTTP_USER_AGENT'])){
    $useragent = $_SERVER['HTTP_USER_AGENT'];
    if( preg_match('@(iPad|iPod|iPhone|Android|BlackBerry| SymbianOS|SCH-M\d+|Opera Mini|Windows CE|Nokia|SonyEricsson|webOS|PalmOS)@', $useragent) ){
    header('Location: ".$yourURL);
    }
    }
    ?>
    {{ DiscussionBoard.errors[10663369].message }}
    • Profile picture of the author mwallat
      For the full site would I have to figure out who owns the domain and ask for permission to access the site or is there a way of directly going in to make edits? These people have very basic pages and I want to make them look better I'm just not sure how to access them.
      {{ DiscussionBoard.errors[10663378].message }}

Trending Topics