Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-23T07:43:58-05:00 http://www.primothemes.com/forums/feed.php?f=5&t=2752 2012-01-23T07:43:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2752&p=61270#p61270 <![CDATA[Re: Getting soft 404 errors (200 status) when Quick Cache is]]> viewtopic.php?f=5&t=591.

FYI... I found this thread that suggests it might be a theme issue, but I am not convinced, http://wordpress.stackexchange.com/ques ... re-enabled

Statistics: Posted by ffemtkl — January 23rd, 2012, 7:43 am


]]>
2011-05-16T05:09:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2752&p=15081#p15081 <![CDATA[Re: Getting soft 404 errors (200 status) when Quick Cache is]]>
having goggled "quick cache error 404 cached as 200" and not found an answer I took to edit "advanced-cache.php" myself. I know this is not supposed to be edited directly but by adding the following:


Code:
if (is_404())
{
header("Status: 404 Not Found");
/*return $buffer;*/ /* Do NOT cache. */
}


under "function ws_plugin__qcache_builder ($buffer = FALSE)" fixed my problem.

There were 2 choices:
    1) Set status of page and cache
    2) Not cache

I opted to cache the error page with setting the 404 status.

I was hoping we can get this turned into a permanent code include (otherwise is overwritten every time settings are saved)

Statistics: Posted by Adriano — May 16th, 2011, 5:09 am


]]>
2011-03-21T16:12:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2752&p=8072#p8072 <![CDATA[Getting soft 404 errors (200 status) when Quick Cache is on]]>
1) Quick Cache is disabled. I visit a known bad link on my site and receive a 404 error. I can verify in Chrome's Inspector and/or Firebug that I'm properly being served the "404 Not Found" status in the HTTP headers.

2) I turn Quick Cache on and visit the same URL. On the initial visit I am served a cached page (verified in at the bottom of the HTML source) and the proper "404 Not Found" status in the HTTP header. But if I visit the page again, I'm served the cached page, but with a "200 OK" status in the HTTP header.

3) If I turn Quick Cache off and visit the page again, I am again being served an uncached page with the correct "404 Not Found" status in the header.

Any idea what's going on here? I can provide more details if there's anything in particular you think I should be looking for.

Statistics: Posted by macbort — March 21st, 2011, 4:12 pm


]]>