-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Launchpad: Site cannot access /home
because of redirect loop
#88386
Comments
/sites
because it redirects to /home
, which redirects to /site-setup/goals?siteSlug=...
/sites
because of redirect loop
Support References This comment is automatically generated. Please do not edit it.
|
/sites
because of redirect loop/home
because of redirect loop
The redirect happens here: https://github.com/Automattic/wp-calypso/blob/trunk/client/my-sites/customer-home/controller.jsx#L73 Oddly, if I look at the site settings in network admin, the |
Well, I've fixed this manually by updating the site option via CLI on the user's site:
The bug to fix here is figuring out what steps were taken to get the site into this state so it doesn't happen again. :) |
The mismatch happens as we don't sync the |
I tried to get a new site into this situation in a couple ways:
So I don't think this is a common bug or one that can easily be reproduced. From the diff intended to solve this issue:
I'll close this as a result. |
Site in question along with a description of the behavior is here: p1710175764454889-slack-C0Q664T29
Unlaunched Atomic site cannot access
/home
because of a chain of redirects that ends in a loop:/sites
/home
/home
redirects to/site-setup/goals?siteSlug=...
/site-setup/goals?siteSlug=...
redirects to/home
/site-setup/goals?siteSlug=...
This site is also on an Entrepreneur plan, so
/home
should redirect to WC admin.Seemed like it might be related to #88384 but clearing the
site_intent
did not fix it.ZD: 7787925-zd-a8c
The text was updated successfully, but these errors were encountered: