When your Shopify store is accessible at both www.yourstore.com and yourstore.com, you're creating duplicate content that splits your SEO authority in half. Google treats these as two separate websites competing against each other, diluting your link equity and confusing search engines about which version to rank.
This guide shows you how to consolidate your store on one domain version and protect your SEO.
Why WWW vs Non-WWW Matters
Every backlink, social share, and ranking signal gets split between your www and non-www versions when both are accessible. Google doesn't know which one is "real," so it indexes both, splitting your authority and potentially showing the wrong version in search results.
| Issue | SEO Impact | Example |
|---|---|---|
| Duplicate content | Authority split 50/50 | Same product on two domains |
| Link equity dilution | Backlinks divided | 100 links become 50 + 50 |
| Indexing confusion | Wrong version ranks | Non-www ranks when you want www |
| Crawl budget waste | Pages crawled twice | Google crawls both versions |
When you have 1,000 backlinks but 500 point to www and 500 to non-www, you're not getting full value from any of them. Your Shopify URL structure needs to be consistent, and that starts with choosing one domain version and sticking to it.
Critical Problem: Combined with improper Shopify https configuration, www/non-www issues can create four versions of your site: http://www, https://www, http://, and https://. This quadruples your duplicate content problem.
How to Check for WWW/Non-WWW Issues
Method 1: Manual Browser Test
- Open your browser and type
www.yourstore.com - Check if it redirects or stays at www
- Now type
yourstore.com(without www) - Check if it redirects to match the first version
If both URLs load without redirecting to a single version, you have a problem. They should both redirect to the same canonical version.
Method 2: Google Site Search
- Go to Google and search:
site:www.yourstore.com - Note how many results appear
- Then search:
site:yourstore.com(without www) - Compare the results
If both searches return significant results, Google is indexing both versions as separate sites.
Method 3: Google Search Console
- Log into Shopify Search Console
- Check if you have both www and non-www properties added
- Review which version has more indexed pages
- Check for duplicate content warnings
Method 4: Screaming Frog Audit
- Download Screaming Frog SEO Spider
- Crawl both
www.yourstore.comandyourstore.com - Compare the Internal tab results
- Look for identical pages on both versions
Pro Tip: Check your Shopify sitemap to see which version is listed. Your sitemap should only contain one version—never both.
How to Fix WWW vs Non-WWW Issues
Step 1: Choose Your Preferred Domain
Decide whether you want www or non-www as your canonical version. Consider:
Brand consistency: Which version do you use in marketing materials? Existing backlinks: Which version has more inbound links? User expectations: Does your industry typically use www or not?
Most modern brands prefer non-www for cleaner URLs, but there's no inherent SEO advantage to either. Pick one and commit.
Step 2: Update Shopify Domain Settings
- Log into your Shopify Admin
- Navigate to Settings > Domains
- Find your primary domain in the list
- Look for Primary domain designation
- If needed, click Change primary domain
- Select your preferred version (www or non-www)
- Save changes
Shopify automatically implements 301 redirects from the non-preferred version to your chosen version. This is the crucial step that consolidates your authority.
Step 3: Verify HTTPS Works Correctly
Your Shopify https setup must work with your chosen domain version. Test both:
https://www.yourstore.com→ should redirect to preferred versionhttps://yourstore.com→ should redirect to preferred version
Both should end up at the same final URL with proper convert 302 to 301 redirect status.
Step 4: Update Canonical Tags
Your Shopify canonical tags must point to your preferred domain version on every page. Check your theme's canonical implementation:
- Go to Online Store > Themes > Actions > Edit Code
- Open
theme.liquid - Find the canonical tag (usually in the
<head>section) - Verify it uses your preferred domain version
Step 5: Update Search Console
- Log into Shopify Search Console
- Add both www and non-www versions as properties (if not already added)
- Submit your sitemap to the preferred version only
- Set domain preference in Search Console settings (if available)
If you're switching from one version to another, use the Change of Address tool in Search Console to inform Google of the permanent move.
Step 6: Check Redirect Implementation
Use Screaming Frog or online redirect checkers to verify:
- Non-preferred version returns 301 Permanent Redirect
- Redirect points to preferred version with Shopify https
- No redirect chains exist (multiple hops to reach final URL)
- All pages redirect, not just the homepage
Monitor Your Consolidation
After implementing redirects, track the consolidation:
Week 1-2: Use site: searches to monitor both versions. The non-preferred should start disappearing.
Week 3-4: Check Search Console for indexed page counts. Preferred version should increase as non-preferred decreases.
Month 2-3: Verify all authority has consolidated. Rankings for preferred version should improve as duplicate content resolves.
Ongoing: Set quarterly reminders to verify redirects still work after theme updates or app installations.
Most stores see ranking improvements within 60-90 days as Google consolidates all authority onto one domain version. Your backlinks finally count at full strength instead of being split across two versions.
Update Internal and External Links
While redirects handle technical consolidation, update actual links where possible:
Internal Links: Ensure all navigation, footer, and content links use your preferred version.
External Links: Contact sites linking to non-preferred version and request updates (optional but helpful).
Marketing Materials: Use only your preferred version in emails, social media, and advertising.
Proper www/non-www consolidation is foundational SEO. Get this right once, and you'll never worry about splitting your authority again.
Related Guides
Shopify URL Structure Optimization
Build clean, consistent URLs across your entire store.
Read Guide →Shopify HTTPS Security
Ensure secure connections work properly with your domain choice.
Read Guide →Shopify Canonical Tags Guide
Point canonical tags to your preferred domain version consistently.
Read Guide →Shopify Sitemap Configuration
Ensure your sitemap uses only your preferred domain version.
Read Guide →Shopify Search Console Setup
Configure Search Console to track your preferred domain properly.
Read Guide →Convert 302 to 301 Redirects
Ensure redirects pass full authority with proper 301 status codes.
Read Guide →Shopify store traffic stuck? You're not alone.
We help Shopify stores rank higher in Google, attract quality traffic, and turn visitors into customers.
🚀 Trusted by 500+ Shopify merchants