• Resolved 9itish

    (@9itish)


    Hi, one of my pages that actuallly exists is giving a 404 error. To get rid of the error, I tried to Purge 404 Error pages from LiteSpeed toolbar. However, it does not work.

    Here are some of the response headers for the 404 page:

    x-litespeed-cache-control: no-cache
    x-litespeed-tag: b32_
    x-powered-by: PHP/7.4.11
    x-qc-pop: AS-IN-DEL-59
    

    Here are the response headers of the exact same page when it actually loads (after a manual force reload). This time there is no x-litespeed-cache-control header :

    x-powered-by: PHP/7.4.11
    x-qc-cache: hit,private
    x-qc-pop: AS-IN-DEL-59
    

    This page contains some $_POST data so it shouldn’t be cached at all, I think. Will it be cached

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter 9itish

    (@9itish)

    I have purged all the cache from the plugin and from the CDN as well. However, this does not resolve the issue.

    Update:

    I did some more research. It looks like the page keeps showing the 404 error if I reload it using the “reload” icon. I also get the error on using CTRL + F5 for fore refresh. However, if I go to the address bar and press enter it loads the actual webpage.

    • This reply was modified 4 years, 4 months ago by 9itish.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Did you enable instant click ?

    may I have the report number ?

    you can it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter 9itish

    (@9itish)

    Hi @qtwrk,

    Here is my report number: CVQYBSXX.

    I don’t think I have instant click enabled. Where is this setting? I will just check to be sure.

    Here is my understanding of the situation so far. I hope it helps:

    1. The page actually exists on the website. I can visit it by directly typing the URL in the address bar.

    2. The page is supposed to handle some $_POST data from a form submitted on another page. However, it seems to give a 404 error whenever there is any actual $_POST data.

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please bypass QC for the time being and try again ?

    I feel might be bug on QC-side

    Best regards,

    Thread Starter 9itish

    (@9itish)

    I flushed the CDN cache, bypassed the CDN, purged the cache from LiteSpeed plugin but the error still persists.

    Thread Starter 9itish

    (@9itish)

    It started happening yesterday. The page was working properly before that. ??

    I added ?LSCWP_CTRL=before_optm in the URL of both the pages. One where I fill the data and the second where I process the data. I still got the same 404 error on submission.

    Thanks.

    • This reply was modified 4 years, 4 months ago by 9itish.
    Thread Starter 9itish

    (@9itish)

    When the page gives a 404, the response headers contain the following:

    link: <https://mydomain.com/wp-json/>; rel="https://api.w.org/"
    

    When the page loads properly, the response headers contain the following:

    link: <https://mydomain.com/wp-json/>; rel="https://api.w.org/"
    link: <https://mydomain.com/wp-json/wp/v2/pages/15431>; rel="alternate"; type="application/json"
    link: <https://mydomain.com/?p=15431>; rel=shortlink
    

    in this particular order. Does that help in figuring out the issue?

    All other response headers are exactly the same.

    Thanks.

    • This reply was modified 4 years, 4 months ago by 9itish.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    It works when LSCWP is OFF, right ?

    Could you please check the server access log , see if they hit same URL ?

    does this request rely on POST data or something to get some parameters or something ?

    Best regards,

    Thread Starter 9itish

    (@9itish)

    Hi @qtwrk ??

    For some reason, the error only occurs when the name attribute of a form element is set to name="name". If I use a different name attribute value like name="first-name" or if I remove this element, the error disappears.

    I have changed the value of the attribute. Maybe this error was unrelated to LiteSpeed.

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    hmmmm , not sure , maybe that name is conflicted or already-used somewhere ?

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    Best regards,

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘404 Page Errors Disappear on Reload’ is closed to new replies.