Opened 11 years ago
Closed 11 years ago
#25802 closed defect (bug) (duplicate)
Unexpected redirect if you try to visit non-existant wp-admin (Multisite)
Reported by: | Ipstenu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Bootstrap/Load | Keywords: | |
Focuses: | multisite | Cc: |
Description
If you go to domain.com/FAKESITE/wp-admin (or FAKESITE.domain.com/wp-admin) , you get redirected to the main site's wp-admin (or the login page to go there if not logged in).
This doesn't match what happens when we go to domain.com/FAKESITE where it says "No such site.'
Of note, NOBLOGREDIRECT works as expected in this case, and sends you where ever you told it to go to.
Attachments (1)
Change History (6)
This ticket was mentioned in IRC in #wordpress-dev by VarunAgw. View the logs.
11 years ago
This ticket was mentioned in IRC in #wordpress-dev by VarunAgw. View the logs.
11 years ago
#5
@
11 years ago
- Keywords needs-patch removed
- Milestone 3.9 deleted
- Resolution set to duplicate
- Status changed from new to closed
Hi @VarunAgw, thank you for taking the time to submit a patch!
Unfortunately, as you may have seen in IRC, the discussion led to the discovery of another duplicate ticket that more progress has been made against - #17376.
Can you test that patch out and comment over there? Thanks!
I think
http://domain.com/invalid-site/wp-admin/
should redirect tohttp://domain.com/
and drop thewp-admin
attempt.Somewhat related, #26407. Theoretically a primary network could be defined one day as well to replace
http://domain.com/
as the next in line.Moving to 3.9 for discussion.