Seeing the “’too_many_redirects’” error on your Shopify store usually means your website has been set up in a way that keeps redirecting it between different URLs instead of loading the final page. This can happen due to incorrect DNS configuration, conflicting domain settings, or redirect chains that exceed the browser’s limit.
In this guide, we’ll explain what the error means, why it occurs, and how you can fix it—starting with the most common issue: making sure you have only one primary domain in Shopify.
Table of Contents
What is the Shopify Too Many Redirects Error?
Too_many_redirects error in Shopify (also known as redirect loop) is an error that occurs when a browser, like Chrome, repeatedly goes back and forth from one page to another, without reaching the final page. Eventually, the browser throws an error ‘too_many_redirects.’ You can review or update your redirect rules in Shopify redirects to ensure everything is set correctly.
For example, if a visitor enters a store URL like mystore.com on Chrome, in the backend, the URL keeps going from one page to another, resulting in not displaying the desired page.
How Does the Too Many Redirects Error Occur?
There are a few reasons why this error originates in the first place. In this section, we will look at each reason along with the steps to resolve/avoid the error.
Incorrect Domain Settings
This is the foremost place you should look for when you see this error. The loop occurs when your store is redirecting between two different versions of your domain.
For example:
- http://www.mystore.com Vs. mystore.com
If both versions of a domain try to redirect to each other, a redirect loop occurs, like this:
- mystore.com → http://www.mystore.com → mystore.com → …
This issue occurs if you have added more than one domain or a different version of your domain as primary. Or this could be a conflict with your domain registrar using a different version or a different domain from that of Shopify’s.
To resolve this, you should have:
- Only one primary domain in your Shopify Domain Settings.
- Ensure that all other connected domains redirect to a single primary domain.
- And disable redirects/forwarding in your domain provider by contacting them.
How do you check Domain Settings in Shopify?
- Go to Shopify >> Settings >> Domains >> Check your primary domain.
- You can keep multiple “Connected” domains; however, ensure only one is set as Primary and connected domains redirect to it.

SSL Status Pending
Let’s say you have fixed the primary domain settings in Shopify, you might still face the error if your domain does not have an active SSL certificate. Shopify provides one for you for free, but it takes some time to activate the certificate.
This error occurs within this gap, where the certificate needs to be fully set up.
For example, if a user is trying to access mystore.com, Shopify automatically redirects to https://mystore.com. This is normal when your domain has an active SSL certificate. But, if the SSL certificate status is any of the following:
- Pending
- Waiting for verification
- Couldn’t be provisioned
- Unavailable
Then Shopify keeps redirecting it to https, but the domain isn’t ready for that, causing an endless loop, resulting in an error.
How to resolve the SSL Status Error?
- Ensure your domain’s SSL certificate status shows ‘Active’ and your DNS records correctly point to Shopify.
| Note: If your domain uses Cloudflare, the SSL mode can easily trigger the “’too_many_redirects’” error. The problem happens when Cloudflare’s SSL mode is set to “Flexible.” To fix it: In Cloudflare, go to SSL/TLS >> Overview >> Change SSL Mode from Flexible to Full (or Full Strict) and clear Cloudflare cache. |
Incorrect DNS Records (No External Forwarding)
The most common cause of too _many_redirects in Shopify is incorrect DNS settings. To check your current settings, log in to your Domain Registrar (where you bought the domain name).
Check for A record and CNAME record values. They must be:
- ‘A record’ should point to Shopify IPv4 address – 23.227.38.65.
- CNAME (www) record should point to shops.myshopify.com.
Domain forwarding is a feature many domain registrars like GoDaddy, Namecheap, Google Domains, Bluehost, etc, offer to let you set rules like forwarding from mystore.com to http://www.mystore.com. This is considered normal, but it is a major problem with Shopify as it already handles forwarding from non-www to www, or from http to https, or from secondary domain to primary domain.
This is a problem when both Shopify and your domain registrar enable forwarding. To resolve it, simply contact your domain provider and ask them to disable it. If they’re pointing towards a different address, change them to the values shared above.
For the sake of this article, we took some time to contact the Shopify support executive, and they shared with us the following information. Ensure you also refer to this image below when fixing your DNS records in your domain provider account.

Note: Remove redirect rules from previous hosting platforms if your domain was recently migrated.
Redirect Chains
Redirect chain occurs when you redirect URL A to URL B, and URL B to C and so on, like this, A -> B -> C -> D…..and so on.
If the chain continues and becomes too long, browsers may throw a ‘too_many_redirects’ error. The resolution is to have one old URL redirected to one new URL.
Here’s how to do it:
- Go to your Shopify Admin >> Content >> Menus >> URL Redirects.
- You will be able to see all the redirects, check the ones that are affected by the chains, remove the unnecessary ones and create one redirect from the old URL to one final new URL.


Check Shopify Markets
Redirect loops may occur when you’re using Shopify markets. For example, when using international domains/sub-domains like,
- eu.mystore.com
- uk.mystore.com
- mystore.com/de
- mystore.com/fr
Browsers might go back and forth when a user accesses any international sub-domain, if the market domains or folders are not configured properly, leading to redirect loops. Similar to: uk.mystore.com -> mystore.com/uk ->mystore.com ->uk.mystore.com
The solution lies in ensuring each market has a unique URL structure.
How to check?
- Go to Shopify >> Settings >> Markets and check domain assignments. Each market must have a unique domain or sub-folder. For example, suppose your primary market domain is mystore.com, the domain for the UK market would be uk.mystore.com or mystore.com/en-gb. Ensure no market has the same URL structure.
- Similarly, ensure language sub-folders do not overlap with each other. Assign each language a unique subfolder, and no language folder matches another market’s domain/subfolder.

- Also, ensure you disable the option ‘Redirect customer automatically’ temporarily. Otherwise, it may lead to a redirect loop if the DNS or subdomains are not set up properly. To disable the option, go to Shopify >> Settings >> Markets >> Preferences >> Turn off “Redirect customers automatically” and “Language detection.”
- Lastly, update DNS records for your market subdomains; all of them must be pointing to Shopify. That is, A record and a CNAME record should point to Shopify.
App or Theme-based Redirects Conflicts
Another cause of redirect loops is some Shopify apps or custom theme scripts having the automatic redirects feature enabled.
For example, themes can include JavaScript redirects using window.location.href = “https://new-url.com”;or meta refresh tags.
In any case, this wouldn’t be problematic, but if apps or themes script uses a domain other than the primary domain setup in your Shopify admin or if it is using incorrect URLs, they cause a conflict resulting in a redirect loop.
Apps can also cause ‘too_many_redirects’ error on your Shopify store if they include code that redirects users to URLs that aren’t properly connected or if they create redirect loops. For example, some apps might redirect customers based on location or other conditions, and if not configured correctly, this can cause redirect loops.
To fix it:
- Disable redirect apps that you’ve recently added or updated. Know that this adjustment is temporary, to identify the app that is causing the error.
- Check if the redirect issue resolves after disabling the app.
- Contact the app developer for support if the app is causing the redirects.
- Ensure that any redirect code in your theme or apps uses Shopify’s recommended method, which is to deactivate redirects when the storefront is loaded in the theme editor to avoid interference.
Read more: Top 7 Shopify Redirect Apps.
Troubleshooting After Fixing the Issue
Suppose you have identified the root cause of the error and fixed it successfully. You might still face the error; this is primarily due to cache issues. Here’s what you can do:
Tip: Before troubleshooting, give your store 2–5 minutes to load after making domain changes; Shopify may be propagating updates in the background.
Clear Server or CDN Cache
If you’re using a Content Delivery Network (CDN) like Cloudflare or other similar tools, the old cached redirects may still keep sending visitors in the loop. To avoid this, you must clear the cached version of your site. By doing so, you’re enabling the CDN to fetch the latest domain, SSL and redirect settings from Shopify.
How to remove cache in Cloudflare?
Log in to Cloudflare >> select your domain >> go to Caching >> click Purge Everything >> wait 30–60 seconds >> reload your Shopify store >> clear your browser cookies and cache.
To avoid the issue as with the CDN, you should clear cookies, cached files, close all tabs and reopen your store URL, just to clear the cached version of your store.
To do so, go to your browser, for example, if you’re using Chrome, click the three dots in the top-right corner, select “More tools” >> “Clear browsing data,” >> choose a time range (like “All time”) >>ensure “Cached images and files” is checked >> and then click “Clear data.”
Try Incognito Mode
Instead of clearing your browser cache, you can also try testing your store URL by using an incognito mode in your browser.
| Read more: Shopify redirects not working. |
Contact Shopify Support
Going to the Shopify Support team is the last resort when you can’t fix the ‘too_many_redirects’ error in your Shopify store.
But first, ensure you’re checked for:
- DNS records
- SSL issues
- Domain settings
- URL redirects
- Markets configuration
- CDN settings
- Clearing the cache on the CDN and the browser.
After completing all these checks, if you are still unable to resolve the issue, contact Shopify support.
Here’s how you can contact the team:
Step 1: Go to your Shopify admin >> scroll down to find Shopify Help center >> click on ‘Get Help.’
You will be taken to a Shopify help center, where you can put your concern in a text box.


Step 2: Thereafter, you will be able to chat with an AI bot. In our opinion, the bot is also helpful. Or you can chant with a human; you will find the option next to the search bar. The support executive also asks for your details. Provide the following:
- Your domain name
- What you already fixed (DNS, SSL, Markets, redirects)
- Screenshot of the error
They will check your background and resolve your issues.
Conclusion
The ‘too_many_redirects’ error in Shopify is almost always the result of misconfigured domains, DNS records, or redirect rules that send your website in circles. The good news is that once you pinpoint the source, whether it’s an incorrect primary domain, an SSL still pending, or conflicting redirects, the fix is usually quick. To prevent this error from resurfacing, follow these important steps.
Key Takeaways for Shopify Merchants
- Use only one primary domain in Shopify and let Shopify handle all forwarding.
- Avoid domain forwarding at your registrar—turn it off to prevent conflicts.
- Double-check your DNS records:
- A Record → 23.227.38.65
- CNAME (www) → shops.myshopify.com
- Wait for SSL to fully activate before testing a new domain.
- Remove long redirect chains and point old URLs directly to the final destination.
- Configure Shopify Markets carefully so each region has a unique domain or subfolder.
- Review apps or theme scripts that may be adding unexpected redirects.
- Clear CDN and browser cache after making domain or DNS changes.
- Try incognito mode to confirm if the error has disappeared.
FAQs
What should I do if ‘too_many_redirects’ persists even after troubleshooting common causes on Shopify?
You can contact the Shopify support team to rectify the underlying issue, ensure you provide details about your domain, and share a screenshot of the error.
How can I prevent ‘too_many_redirects’ when migrating my Shopify store to a new domain?
To prevent the error when migrating your Shopify store to a new domain, set only one primary domain, remove domain forwarding at your registrar, wait for SSL certificate activation, avoid incorrect or duplicated DNS entries, and clear CDN/browser cache.
Can third-party apps cause ‘too_many_redirects’ on my Shopify store, and how can I troubleshoot this?
Yes, third-party redirect apps can also cause the error if they include URLs that aren’t properly set up, resulting in redirect loops. To troubleshoot this, temporarily disable the app and check if the issue resolves after disabling it.
How do SSL certificate issues lead to ‘too_many_redirects’ on Shopify, and how can I fix them?
If your SSL certificate is active, there shouldn’t be any problem. But if the SSL is not fully set up, you will encounter this error. This is because even though a visitor enters the URL starting with http, Shopify forces it to https, as the domain isn’t ready for https, it creates a loop and throws an error.
What steps should I take if a redirect loop occurs after installing a new Shopify theme?
Before installing a new theme, it is crucial to confirm that the theme is the culprit in causing the error. Otherwise, installing a new theme won’t fix the problem. In addition to this, if you’re still facing the error after installing a new theme, then it is evident that the theme code is not the main reason for the error. Double-check redirects in Shopify and other apps that are causing conflicts. Check Domain and DNS settings. If you’re unable to solve the issue, you can always contact the Shopify support team.
Check Out These Related Articles: