I am getting too many redirects on my domain

I am getting too many redirects when i clicked on my website via google search or any url,
if i directly paste hapso.in / www.hapso.in / https://hapso.in http://hapso.in everything works fine, only issue is when by clicking the website via url.

Hi @hapso ,
Since your site loads fine when you type the URL directly but fails when clicked from Google or another referrer, here are the most common causes and fixes:
Primary Domain Setup (Shopify / Hosting Panel)
Go to Shopify Admin → Settings → Domains.
Make sure you’ve set one primary domain (example: https://hapso.in).
Enable Redirect all traffic to this domain so www.hapso.in, http://hapso.in, etc., all point consistently.
Ensure SSL is active in Shopify.
After fixing, request reindex in Google Search Console.

Thanks
Manoj

Hi @hapso :waving_hand:

Since your site works when imported directly and not from Google/referrals, it’s likely that the issue lies with your domain settings:

  1. In Shopify Admin → Settings → Domains, set the primary domain to: “https://hapso.in/” (currently the primary domain should be: https://www.hapso.in/)

  2. Enable redirect all traffic so that all versions point to this domain.

I also checked that the current canonical of homepage is “https://www.hapso.in/”, so you should the primary domain to “https://hapso.in/” then request indexing on Google Search Console and wait a few days for the results.

That’s all. If you find it helpful, please like and mark Solved.

Hi @LitExtension

Elaborating on previous answers, I want to also note that after waiting for a few days after you requested indexing on your Google Search Console, you can then clear your browser cache or test in incognito. This should stop the redirect loop and make sure your store loads consistently whether customers type the URL directly or click it from Google.

Hope this helps!

Hi @hapso ,

The “too many redirects” issue usually comes from a domain / SSL / forwarding misconfiguration. Since your site works fine when you directly type the domain, but not when you click through Google search results or other links, here are the fixes:

  1. In Shopify → Settings → Domains, set one Primary domain (either hapso.in or www.hapso.in).
  2. Ensure DNS:
  1. Turn ON Redirect all traffic to this domain.
  2. Remove any extra forwarding from your domain provider.

This will stop the redirect loop.