• Omi

    (@dekzgimutao)


    Hi We are encountering 404 constantly when someone post a new reply in our forum topics. Can we ask why we are having 404 issues quite often when someone is creating new reply? We fixed this issue by going to wp admin settings > permalinks and resaving the structure.

    can I ask if the debug code would also log the cause of error when we are receiving 404 issue?

    Any reason why we are having a 404 error from time to time?

    Thannks

    https://www.ads-software.com/plugins/wp-super-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The debug.log (when you’re using WP_DEBUG) would not log the 404’s because they’re technically not errors. We all refer to them informally as “errors” since we’re looking for a page and it’s not there, they are actually HTTP status codes, and 404 means “404 Not Found”. The debug.log will log PHP errors, notices and warnings as well as anything output specifically by WordPress.

    To fix 404 errors, you’ll need to figure out why there’s some kind of disconnect with the actual page URL’s vs the URLs it’s linking to.

    You mentioned having to re-save your permalink structure…You may want to try using this setting from the Advanced tab in your WP Super Cache settings: “Clear all cache files when a post or page is published or updated.”

    Thread Starter Omi

    (@dekzgimutao)

    Thanks @scott for your response. If we checked the:

    Clear all cache files when a post or page is published or updated.

    Does this mean that it would refresh all the page and post? We have so many pages and post plus topics in our forum. If it would refresh everything including past year topics and post, would it give as time to load past posts and pages since it is clearing everything? Or it is just refreshing a certain page which was edited or a post that was updated? As I’ve read some of the forum it was the default function?

    By the way, we have fixed a certain 404 issue before as our htaccess Mod Rewrite Rules have been modified differently, I have written the New Rules from the advance tab and it seems to work. We are just experience some 404 error from time to time since then.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 error’ is closed to new replies.