You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on some functionality for QM which aims to help you out when you encounter a 404 error. It will help pinpoint the reason for the 404 and hopefully make it easier to identify the reason you're seeing a 404 error page instead of the nice new thing that you're building.
I've started this but it needs more work. Some of the ideas are worth exposing even when you're not encountering a 404.
Current ideas:
Identify whether the rewrite rules need flushing.
Display a stack trace for the call to set_404().
Identify whether any rewrite rule matched or whether the fallback rule for Pages matched.
Identify other matching rewrite rules with lower priority (already exists in the Request panel, could be improved).
I've been working on some functionality for QM which aims to help you out when you encounter a 404 error. It will help pinpoint the reason for the 404 and hopefully make it easier to identify the reason you're seeing a 404 error page instead of the nice new thing that you're building.
I've started this but it needs more work. Some of the ideas are worth exposing even when you're not encountering a 404.
Current ideas:
set_404()
.WP_Query
properties (allow user to identify mismatch between it and their expectation).set_404()
manually.%foo%
), not sure if this is even possible.Other ideas very welcome.
The text was updated successfully, but these errors were encountered: