I have set up multiple Domain Aliases on my shop:
medis.praxis-baar.ch, shop.gesundheitspunkt.ch, demo.arzt.shopping, etc
Based on the alias I add Properties to the order which will trigger some important backend functionality. So depending on the URL, the backend behaves differently thus the entrypoint- URL is crucial.
The Problem which is showing consistently but not always reproducable:
-
I enter e.g. medis.praxis-baar.ch → redirect to e.g. https://www.arzt.shopping/__?*shpxid=*__x x-somenumbers-xx : This shoud not happen with aliases at all, this is wrong behavour of shopify.
-
I ender same again → it works
-
Start incognito mode or other browser → redirect again with a shpxid parameter. But not fully repoducable. After some cooling period, usually its reproducable at the first attempt.
I traced HTTP. Directly when calling medis.praxis-baar.ch (or other alias) I get a 302 redirect to the default store with a sphxid paramter. So its not my network, my browser - this comes form shopify endpoint.
Googling shpxid I assume its related to geolocation services or the “market feature” of shopify. I do not use any of it. Still I think this is what messes which the system; looks a lot like a bug where shopify tries to add geolocation tag and screws up with aliases domains.
Is this the right forum to post a problem like this?
Any help is welcome, thx
Did you manage to fix this? I have the same issue… No one is able to help.
Hi; its resolved; but there was nothing I could do. last message was that the developers looked at it; identfied the issue and pointed towards a potential feature. But one day later it was gone since then all works as expected . Maybe they fixed it only in my database; don’t know.
thanks for your feedback, im still waiting for shopify, hope they will solve it asap.
the problem is back.. havnt seen it for quite some time now its back on 8(
I have the same issue hopefully gets resolved soon.
Hello; there is now a new setting in Settings/Markets/Enable auto directs:
disable Automated redirections
thats finally solved it in my case.
cheers
Hey @arzt-shop I’m experiencing this exact issue with our site at the moment althoughSettings/Markets/Enable doesn’t appear to be available anymore. Is this still an issue for you? May I ask which Shopify plan you are on? Cheers 
Hi everyone,
I accidentally deleted my previous comment while trying to edit it. I found a solution for my use case while chatting with Shopify support, so I wanted to share it here.
The Issue:
I was experiencing the same redirect problem with a .app domain alias being redirected to my primary domain with a shpxid parameter.
The Solution (two parts):
-
Cloudflare DNS Settings:
If you’re using Cloudflare with the Proxy enabled (Orange Cloud), you need to switch it to DNS Only (Grey Cloud). When the proxy is enabled, Cloudflare intercepts traffic before it reaches Shopify, which breaks Shopify’s ability to verify the domain and provision the SSL certificate properly.
Additionally, since .app is a secured TLD, you may need to add CAA records:
- Type: CAA | Value:
0 issue "letsencrypt.org"
- Type: CAA | Value:
0 issue "digicert.com"
-
Disable Automatic Redirections:
Go to Online Store → Preferences and turn off Country/region at Automatic redirection. When this is enabled and a market uses a dedicated domain, customers visiting an alias domain get redirected to the market’s domain on their first visit.
After making both changes, the issue was resolved for me. Hope this helps others experiencing the same problem!