Fix /login 404 status code#2920
Conversation
When enabling the SSO custom login page, although the page loads correctly, it technically returns a 404 status code. The same is true of the privacy and terms pages. This resolves that by setting a 200 status for those pages.
Code ReviewNo High or Medium severity issues found. What the PR doesFixes HTTP 404 status codes being sent for pages that render successfully — the custom SSO login page, privacy policy, and terms of service pages. WordPress sets these pages up on virtual URLs it doesn't know about, so Observations
The PR is minimal, targeted, and correct. Ready to merge. |
When enabling the SSO custom login page, although the page loads correctly, it technically returns a 404 status code. The same is true of the privacy and terms pages. This resolves that by setting a 200 status for those pages.