How to optimise a website for mobile devices
People frequently search from phones and tablets, often on smaller screens or slower connections. A website needs to adapt to those conditions without making information or actions harder to access. Mobile usability is therefore an important part of the search experience.
What mobile-first indexing means for search
Google began experimenting with mobile-first indexing in 2016 and subsequently rolled it out. It uses content retrieved by its smartphone crawler for indexing and ranking. That is different from requiring a separate mobile website.
This approach reflects how many people access the web. Making content accessible and usable on mobile supports a better experience, but it does not automatically produce higher rankings.
Can a website rank without a separate mobile version?
Yes. A separate mobile version is not required. The important distinction is whether Google's smartphone crawler can access and render the content, rather than whether the design receives a mobile-friendly label. Content inaccessible to that crawler may not enter the search engine's index. A desktop-style page is not automatically excluded solely because it lacks a separate mobile layout.
Technical approaches to a mobile-friendly website
There are several approaches to mobile delivery, each with its own implementation requirements.
- Separate URLs. A mobile address, such as m.example.com, serves a version for mobile devices. Correct redirects, version annotations and HTTP headers help users and crawlers reach and understand the corresponding pages.
- Dynamic serving. The URL stays the same, but the server delivers different HTML according to the device. Configure caching and relevant HTTP headers correctly so each version is served as intended.
- Responsive design. One URL serves the same HTML, while the layout adapts to screen size and orientation. This is often simpler to implement and maintain than separate versions.
Practical steps for mobile SEO
Make content crawlable
- Do not block essential resources. Check whether robots.txt prevents access to JavaScript, CSS or images needed to render the page properly.
- Use relevant structured data correctly. It can help describe content and make eligible pages suitable for supported search features; it does not guarantee an enhanced result.
Simplify navigation on small screens
- Keep navigation clear. A sticky header can make key links accessible, provided it does not cover content or consume too much screen space.
- Provide comfortable touch targets. Leave enough space between buttons and links to reduce accidental taps.
- Keep important tasks close at hand. Make contact details, pricing, enquiry forms and checkout straightforward to reach.
Improve loading performance
- Lazy-load appropriate below-the-fold media. Do not delay primary content until a visitor clicks or swipes, and avoid lazy-loading the main image in the initial viewport.
- Optimise resources. Compress text files, use efficient image formats, configure caching and consider a CDN where appropriate.
- Configure the viewport. Ensure the page scales correctly so text and controls remain usable on a phone.
Images and content structure
- Serve appropriate image sizes. Use srcset and sizes so browsers can choose a suitable file rather than downloading unnecessarily large images.
- Write descriptive alt text for meaningful images. It supports accessibility and gives search engines context. Decorative images should have an empty alt attribute.
- Use clear titles and descriptions that reflect the page. Organise headings logically with H2 and H3 levels where needed.
- Test several devices and widths before publishing. Look for overflowing elements, tiny text, hidden content and controls that are difficult to use.
Summary
Mobile-first indexing means Google uses the content its smartphone crawler retrieves. A separate mobile site is not mandatory, but access and content consistency matter. Responsive design is often a practical choice. Combine crawlable content, clear navigation, good performance and suitable media, then test the actual experience on different devices.