Now that it’s 2014, the question isn’t “should I build a mobile site?” It’s “how do I build a good mobile site?” Mobile sites are, at their core, just sites; but redesigning your site for very small screens and linking your mobile site to your desktop site gives you a lot more to think about.
I’ve put together a checklist of a) aspects of mobile sites that are often broken yet overlooked, and b) optimization options that many people miss. Where you need more information, I’ve included a link rather than a full description, so that people smarter than me can help you with the details.
Connecting your mobile site with your desktop site
- Are redirects set up to get visitors to the specific page they were trying to view, not the homepage?
- Are mobile visitors redirected to the mobile version of the site?
- Are desktop visitors redirected to the desktop version of the site?
- Is that option easy to find?
- Once mobile visitors choose the desktop version of the site, will they remain on that version as they browse the site? Or will your redirects send them back to the mobile version of the site each time they click on a page?
- Have you set up a Vary-HTTP header to tell Google and browsers that you vary the HTML by user agent?
- Are desktop pages set up with a rel=”alternate” tag pointing to the mobile version of that page?
- In the header, add:
- Are mobile pages set up with a rel=”canonical” tag pointing to the desktop version of that page?
- In the header, add:
Technical issues
-
Check Crawl > Crawl Errors and choose the Smartphone tab. This only shows URLs that are a problem for mobile crawling, but not standard desktops:
(We have one error. 🙁 )
- Google will return pages that it’s having a hard time crawling.
- Have all mobile pages been submitted to Google via an XML sitemap in Google Webmaster Tools?
- Keep mobile pages separate from desktop pages; Google Webmaster Tools reports on the number of pages indexed by separate sitemap. If you keep the two separate, you’ll be able to see if fewer mobile pages are indexed than desktop pages.
- Google offers an excellent page speed tool that gives a list of recommendations based on its crawl of your site.
- This is a more important step than it is in desktop optimization, since phones have less computing power and heavy coding and/or images will lead to an even slower mobile user experience.
- Server-side redirects are generally faster, since they don’t rely on the weaker computing power of a phone.
- On mobile websites, 301 and 302 redirects send the same message to search engines, so you can use either type, though Google recommends 302s whenever possible.
Design
- Does it look good on a number of phones?
- Check the top phones on the market. Good examples are the iPhone (iOS), Samsung Galaxy S4 (Android), Nexus 5 (another Android), and Nokia Lumia 520 (Windows).
- Check the top phones that your visitors use, as reported by your web analytics.
- Does it look good on a number of tablets?
- Check the top tablets on the market. Good examples are the iPad (iOS), Samsung Galaxy Tab in multiple sizes (Android), Kindle Fire (Amazon), and Asus Transformer Book (Windows).
- Check the top tablets that your visitors use, as reported by your web analytics. Pay attention to the top tablet sizes as well.
- Are all links given a 28×28 pixel margin between other links, so they’re easy to click with a finger?
- iPhones can’t render it at all, and it’s slow on Android.
- Look for sneaky uses of Flash, like Flash Player for video.
- Set up a viewport tag to let mobile browsers resize pages so they fit devices perfectly.
Don’t use pop-ups
- They’re too easy to accidentally click and completely take the visitor away from the page s/he wants to be on.
- They slow down loading time.
Responsive sites: Review where elements end up
- On mobile versions of the site, are the most important elements at the top? Make sure you don’t move important right hand elements, like the “add to cart” button, below all other content.
- On tablet versions of the site, does everything still make sense?
Navigation
- Only offering a small portion of your desktop site to mobile visitors is frustrating.
- If visitors aren’t interested in that content, including a link won’t cause a problem because no one will click on it.
- If visitors are interested in that content, you can use analytics data to show that mobile visitors choose to click on that link.
Content
Map mobile to desktop pages
- There should be an equivalent mobile page for every desktop page.
- There may be more mobile than desktop pages, since it’s often easier to navigate mobile sites if you break up the desktop content into multiple pages.
- In some instances, you may have extra mobile pages based on location capabilities, but it’s still best to offer them in both versions, so visitors never feel like they can’t find something they remembered on your site.
Edit wordy content
- Mobile visitors have to deal with small screens, and are often on the go and have less patience.
- Get the same message across as briefly as possible.
Remove unnecessary images
- They slow down page loading time and aren’t needed to fill up extra screen space.
- Ads are particularly annoying on mobile screens, so if ads are a side business and not your primary source of revenue, consider cutting back on them on your mobile site.
Video
- It’s lightweight and easy for phones to render.
- If you’re using a major hosting platform, you’re probably already using an HTML5 video player.
- Necessary if you have a responsive site, but still recommended if you don’t. Since phones are different sizes, you want the video to snap to fit the screen width.
- If you’re hosting YouTube, Vimeo, or your own videos, you can add a bit of code to make them responsive.
- If you’re using a paid platform like Wistia, they may offer code to make videos responsive (Wistia’s is Video Foam).
SERP differences
- Google still gives you approximately 70 characters (512 pixels) in your page title, but the width of the screen forces the page title into two lines.
- Google cuts off mobile meta descriptions at approximately 120 characters rather than 150 characters in their SERPs.
- Google displays the mobile URL rather than the desktop URL for mobile searches, as long as redirects have been set up properly.
Final check
Run pages through the W3C’s mobileOK checker to make sure you haven’t missed any small coding errors. It’s fairly finicky, but that makes sure it finds a lot of issues you may have overlooked.