misha5102
Forum Replies Created
-
@kwoodfriend, you are a genius! I updated my friend’s blog and everything works fine now, everything is served from cache incl. main blog page. Thanks again.
[I will mark this topic as resolved]
@kwoodfriend Thanks a lot! Sorry for the stupid question but where do I insert this code (after changing folders)? Into header.php?
@kwoodfriend, any progress with the workaround?
I did more testing and almost confident that @kwoodfriend is correct in his diagnosis – this was broken with Apache upgrade to 2.4. I basically duplicated the site with identical configuration (re WP) on another host and everything works fine there. The difference? Apache version of another host is 2.2.25…
@kwoodfriend, the Apache version is 2.4.7
Here are the 2 .htaccess files:
Blog: https://paste.ie/view/06c99457
Root (modified for privacy reasons): https://paste.ie/view/29219bd5
Thanks @kwoodfriend. I looked at the thread you mentioned and there is a high chance that my problem is indeed related to .htaccess and it’s handling by Apache. My friend’s site is a bit tricky, she has a bunch of non-WordPress static pages (incl. homepage index.php) and a WordPress blog installed in a subfolder. As a result, there are two .htaccess files, one in root folder (to control behaviour of static pages) and another on in WP blog folder (this is the one that is used/modified by Wordfence). The blog’s main page is a default page with the list of post excerpts and this page doesn’t get cached. All other WP pages and posts get cached just fine. I mentioned above that I setup a test blog with the same theme/plugins and the test blog is cached without any issues. Well, the difference is that the test blog doesn’t have any static pages, so there is no second .htaccess file…
@kwoodfriend, in your other post you mentioned that in order to mitigate this problem you modified WordPress’s index.php file and added the logic that mimics the logic Falcon adds to the .htaccess. Can you share your code here, so that I can try to use it to see if it fixes the problem?
No, it’s not.