We have been experiencing an intermittent 404 Error on the main event page link. When we refresh the permalinks it clears the error and the page loads, but it reoccurs within a day or so.
What can be done to find a permanent fix to this error?
When this happens it usually means there is something on the site flushing permalinks at an unexpected point in the request (before EE has added its rewrite rules). I can’t tell you what that is from the info you currently have but I do have a snippet that can help narrow this down.
You’ll already have something like define( 'WP_DEBUG', false );, that snippet replaces that single line.
What that will do is create a log entry in /wp-content/debug.log each time permalinks are called to be flushed with a stack trace of what called it. So when it then happens again we can check that log entry to see what called it and then hopefully investigate further from there.
(Note the debug.log file is publicly available so I don’t recommend keeping this enabled for longer than needed and when done, remove the snippet and delete the file).
Viewing 1 reply thread
The support post ‘404 Error – Permalinks’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.