How to handle mobile site with less pages than the main site?
-
We are developing a mobile version of our website that will utilize responsive design/dynamic serving.
About 70% of the main website will be included in the mobile version. What (if anything) should be the redirect for pages not included in the mobile version of the site?
Also - for one specific section users will be redirected from that page to the homepage, what is the redirect that should be used for this?
Thanks!
-
Hi there!
You shared that you're using responsive along with dynamic serving (can you please specify more?), since for any of those two approaches you will be providing the same URLs for both mobile and desktop users and crawlers, you won't need to redirect:
- With responsive: You use CSS Media Queries and the same HTMLs for both mobile and desktop purposes. Your design will be fluid and always "fit" the visitors device, you won't need to serve different HTMLs nor redirect.
- With dynamic serving: You serve different HTMLs based on the user agent (mobile or desktop) through the same URLs. Since the different HTMLs will be shown through the same URLs no redirect is needed neither. What you need to make sure to effectively implement user agent detection (avoiding the errors specified by Google here), using the vary HTTP header, as explained here.
On the other hand, the mobile Web approach that does need redirects is when you set a parallel mobile Website, for which you will enable a mobile targeted Web version through their specific URLs (it's recommended to show them in an "m" subdomain, following a clean and optimized URL naming system that can easily refer to the desktop one), for example:
- Category A for Desktop version: www.yourbrand.com/category-a/
- Category A for Mobile version: m.yourbrand.com/category-a/
For this last setting you do need redirects, along with the usage of rel="alternate" tag pointing to the corresponding mobile URL from their desktop URL version and a rel="canonical" tag pointing to the corresponding desktop URL from their mobile URL version, in a page to page basis, as described here.
If at some point you have a desktop URL that doesn't have a mobile version (or viceversa, a mobile URL that doesn't have a desktop version) then you shouldn't really do anything "extra" really, since:
- If for some reason a user can end-up visiting for a URL targeting another device and you don't have it, then it's better to leave the users browsing through the other Web version, since you don't really have that content still optimized for them and although not optimized from a user experience perspective, this is better than implement "non-relevant redirects" that would "force" these users to go to other URLs that although will be optimized for Mobile, won't provide the content that they're looking to consume.
- If you correctly configure your mobile and desktop versions tagging they shouldn't rank in the search results that they're not targeting to so the previous situation really would happen mostly if someone directly shares a specific Mobile URL to Desktop users and you don't have that Desktop version for that URL, for example, or viceversa.
So to avoid this type of situation directly the best is to have always a mobile version of your desktop URLs and viceversa, although as you can see, if this is not possible, the alternative scenario (to leave it as it is) is not really negative and shouldn't affect a high amount of your users.
If you have any question or additional doubt, please let me know!
Thanks,
Aleyda
-
2 things - if you are sniffing a browser agent you can sniff and redirect
the other is that if you are designing a responsive website then you shouldn't need to change the content on the site to make it effective on mobiles. I do understand in some cases it can't be avoided but where that is a case you should forward to a subdomain making it easy to deal with redirects
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Optimization expert suggesting we add Canonical tag to every page on site
Hi guys, We're currently launching a new page, and we have an optimization and technical SEO expert (highly rated on Upwork, very intelligent, has solved complicated issues in the past and improved our Core Web Vitals greatly) suggesting we put canonical tags on every page of site, pointing to itself (other than the case of where canonicals should point to other page, we have those listed separately. Do you guys see a benefit to this? Could it harm us? He says large retailers do this, couldn't quite glean the benefit from it though. Current site ranks well and isn't set up like this. Any insight would be much appreciated! Thanks!
Technical SEO | | CitimarineMoz0 -
Best Topography for eCommerce Site Product Pages (flat nav/off the root OR in products subfolder) ?
Hi Im SEO'ing a Shopify site (new/not yet live) at the moment and all the products are in a 'Products' subfolder along the lines of: domain.com/products/blue-widgets/ etc I understand that many ecommerce SEO's these days go 'Flat Navigation' with all products 'off the root' rather than in a sub folder. Then they communicate product & categories/departmental relationships via breadcrumbs & other internal linking etc In the case of a platform like Shopfy is this a good idea or is it best to leave 'as is' and the 'Products' subfolder is a perfectly good place for the product pages ? All Best Dan
Technical SEO | | Dan-Lawrence0 -
I noticed all my SEOed sites are getting attacked constantly by viruses. I do wordpress sites. Does anyone have a good recommendation to protect my clients sites? thanks
We have tried all different kinds of security plugins but none seem to work long term.
Technical SEO | | Carla_Dawson0 -
How do you handle Wordpress sitemaps within your site?
I have a regular site map on my site and I also have a Wordpress site installed within it that we use for blog/news content. I currently have an auto-sitemap generator installed in Wordpress which automatically updates the sitemap and submits it to the search engines each time the blog is updated. The question I have (which I think I know the answer to but I just want to confirm) is do I have to include all of the articles within the blog in the main site's sitemap despite the Wordpress sitemap having them in there already? If I do include the articles in the main website's sitemap, they would also be in the Wordpress sitemap as well, which is redundant. Redundancy is not good, so I just want to make sure.
Technical SEO | | iresqkeith0 -
Determining When to Break a Page Into Multiple Pages?
Suppose you have a page on your site that is a couple thousand words long. How would you determine when to split the page into two and are there any SEO advantages to doing this like being more focused on a specific topic. I noticed the Beginner's Guide to SEO is split into several pages, although it would concentrate the link juice if it was all on one page. Suppose you have a lot of comments. Is it better to move comments to a second page at a certain point? Sometimes the comments are not super focused on the topic of the page compared to the main text.
Technical SEO | | ProjectLabs1 -
Mobile Site Domain/URL Structure
We are currently building a mobile optimised version of our main website and I had some questions with regard to SEO. 1. Is it best to structure the domain as: m.yourdomain.com yourdomain/m 2. It is correct to place rel="cannonical" on the mobile pages and to have only the main site indexed? Thanks in advance and links or books on mobile seo you can direct me to that would be greatly appreciated. Phil
Technical SEO | | Phily0 -
How can I prevent duplicate content between www.page.com/ and www.page.com
SEOMoz's recent crawl showed me that I had an error for duplicate content and duplicate page titles. This is a problem because it found the same page twice because of a '/' on the end of one url. e.g. www.page.com/ vs. www.page.com My question is do I need to be concerned about this. And is there anything I should put in my htaccess file to prevent this happening. Thanks!
Technical SEO | | onlineexpression
Karl0 -
On Page 301 redirect for html pages
For php pages youve got Header( "HTTP/1.1 301 Moved Permanently" );
Technical SEO | | shupester
Header( "Location: http://www.example.com" );
?> Is there anything for html pages? Other then Or is placing this code redirect 301 /old/old.htm http://www.you.com/new.php in the .htaccess the only way to properly 301 redirect html pages? Thanks!0