Back icon

Back to all posts

Blogs

How to Set Redirects That Work for Both Desktop and Mobile-Specific URLs

A guide to setting redirects that handle legacy mobile-specific URLs and behave identically on every device.

3 minutes, 32 seconds

How to Set Redirects That Work for Both Desktop and Mobile-Specific URLs image

Legacy mobile URLs outlive the architectures that created them, m-dot subdomains, mobile path prefixes, and app-generated mobile links keep arriving from old backlinks and bookmarks years after responsive design made them obsolete.

This guide is for merchants inheriting mobile-specific URL debt, from a previous platform, an old m-dot setup, or mobile app deep links, who want every device-flavored URL resolving to the one responsive store.

Quick Answer

Yes, legacy mobile-specific URLs can be consolidated onto your responsive store with redirects. SC Easy Redirects supports subdomain redirects for old m-dot addresses and redirect patterns for mobile path prefixes, so the whole family of device-specific URL formats routes to the canonical pages that now serve every screen. Since the destination is responsive, one redirect per mapping works identically for desktop and mobile visitors alike.

What This Involves

Handling desktop and mobile-specific URLs means redirecting legacy device-targeted formats, m-dot subdomains, mobile path prefixes, app-style links, to the canonical responsive URLs, consolidating device-split URL history onto one set of pages that serves all visitors.

Who Needs This

  • Stores migrated from platforms that used m-dot subdomains
  • Merchants whose old sites had mobile path prefixes
  • Brands with legacy app deep links in circulation
  • Teams seeing mobile-format URLs in their 404 logs
  • Anyone consolidating device-split URL history

Why It Matters for Your Business

  • Old m-dot backlinks keep sending traffic for years
  • Mobile-format 404s waste visits from the most impatient device
  • Consolidation concentrates split SEO signals onto canonical pages
  • Subdomain redirects rescue entire legacy address spaces at once
  • Patterns catch mobile prefix families one entry cannot
  • One canonical URL per page simplifies everything downstream

How to Set Redirects That Work for Both Desktop and Mobile-Specific URLs on Shopify

Step 1: Prepare Your Store

Start by discovering which device-specific formats still arrive.

  • Review 404 tracking for m-dot and mobile-prefixed URLs
  • Inventory the legacy formats your history created
  • Check whether the old mobile subdomain still resolves anywhere

Step 2: Install and Configure SC Easy Redirects

Install SC Easy Redirects and consolidate the formats.

  • Use subdomain redirects to route m-dot traffic to the main store
  • Build patterns catching mobile path prefixes across the catalog
  • Map legacy formats to canonical responsive URLs, not device variants

Step 3: Create Your Logic

Verify behavior is identical across devices.

  • Confirm redirects fire the same for mobile and desktop visitors
  • Keep destinations canonical, the responsive page serves both
  • Avoid any device-detection forks, they recreate the old problem

Step 4: Test

Test with the URL formats your history actually produced.

  • Visit legacy m-dot URLs on phone and desktop
  • Test mobile-prefixed paths across product and collection formats
  • Confirm one-hop resolution to the canonical page

Step 5: Go Live

Monitor consolidation and let the legacy formats fade.

  • Watch statistics on the mobile-format redirects over time
  • Catch new legacy formats surfacing in 404 tracking
  • Keep subdomain redirects until their traffic truly ends

Examples & Use Cases

Retailer Migrated From an M-Dot Platform
Industry: Consumer goods
Problem: Years of m-dot backlinks kept arriving at a subdomain the new store never configured
Setup: Set subdomain redirects through SC Easy Redirects routing the entire m-dot space to canonical pages
Result: Legacy mobile backlink traffic resolved cleanly and its equity consolidated onto the main store

Brand With Old Mobile Path Prefixes
Industry: Electronics
Problem: Mobile-prefixed product URLs from the previous site filled 404 logs after migration
Setup: Built prefix-stripping patterns mapping the mobile format family onto canonical product URLs
Result: The 404 family went quiet and mobile-format visitors landed on purchasable pages

Read more case studies for our apps here.

Best Practices

  • Consolidate onto canonical responsive URLs, never device variants
  • Use subdomain redirects for whole m-dot address spaces
  • Catch prefix families with patterns, not entry-per-URL
  • Test the same legacy URL on phone and desktop
  • Avoid reintroducing device detection anywhere in the chain
  • Let 404 tracking reveal formats you forgot existed
  • Retire legacy-format redirects only when statistics go silent

Summary

Device-specific URL debt consolidates cleanly onto a responsive store through subdomain redirects and prefix patterns pointing at canonical pages. The core steps are inventorying the legacy formats, mapping them all to canonical URLs, and verifying identical behavior on every device.

If m-dot ghosts still haunt your 404 logs, SC Easy Redirects can route the whole legacy family home.

Frequently asked questions (FAQs)

Do I still need mobile-specific URLs on a responsive Shopify store?

No, responsive pages serve every device, which is why legacy mobile formats should redirect to canonical URLs.

How do I handle traffic still arriving at an old m-dot subdomain?

Subdomain redirects route the entire legacy address space to the main store in one configuration.

Should redirects behave differently for mobile and desktop visitors?

No, identical behavior to the canonical responsive page is exactly the goal, device forks recreate old problems.

How do mobile path prefixes get handled at scale?

Redirect patterns strip or map the prefix family onto canonical URLs without an entry per page.

How long should legacy mobile redirects stay active?

Until their statistics show the traffic has genuinely ended, since old backlinks fade slowly.

Recommended for you