• ryanbaron

    (@ryanbaron)


    Issue Desc:
    When I visit a url where “)” has been added to the end of the url such as “www.site.com/events/)” of the url I am taken to a 404 page (as I should) however when I revisit the page without the “)” (www.site.com/events/) I am now seeing the cached 404 page (until cache is cleared) instead of the actual page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sa?a

    (@stodorovic)

    Hi @ryanbaron,

    I’m trying to reproduce your issue, but without success. Please send more details:

    1. Which is your WP super-cache version?
    2. What “kind of page” is events? I tried page, post, various archive pages? By default, WP accepts endpoints for page/post URLs. In some cases it could be “regular page” (regardless how it’s strange).
    3. By default, WP super-cache doesn’t cache 404 pages. So, it’s strange behavior. I didn’t see cached 404 pages on my installations.

    Regards,
    Sasa

    Plugin Author Donncha O Caoimh (a11n)

    (@donncha)

    Have you tried this with version 1.5.8 of the plugin? I couldn’t replicate it either.

    Enable the debug log and check what happens when the 404 page is shown. It should show the message,

    404 file not found not cached

    wp_cache_shutdown_callback: No cache file created. Returning

    If you don’t see that then there might be something wrong with your theme and it’s not triggering a 404 error in WordPress correctly.

    Thread Starter ryanbaron

    (@ryanbaron)

    @stodorovic @donncha thanks for the replies, I will try updating to the newest version of the plugin and see if that solves the issue.

    Due to the nature of the site traffic we implemented a static 404 page. I will review the code and how that is being implemented as well if the newest update does not solve the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page cache when “)” is on the end’ is closed to new replies.