Virendar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Page 2 of Search Results redirect to homepageHi, that did not work.
Please see my site here
and at the search bar at the top, make a search for “bleach”
Here is whats in my theme files: https://pastebin.com/raw.php?i=rSedK6AC
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Purge all Pages on New/Edit PostThe page itself is not being edited.
The page itself has a dynamic php code that lists the latest posts.
So when I make a new post, this page needs to be purged as well, but it is not, since it is not directly being edited.
Forum: Fixing WordPress
In reply to: Page 2 of Search Results redirect to homepageit does not change the actual URL to homepage, the url stays in the same
https://MYSITE.com/page/2?s=frogs
formatBut the page that is loaded is the homepage.
It does not happen when I am looking in big category archives that have more than 1 page.
It only happens for search results that have more than 1 page.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Questions about 'never cache the following pages'Not answering you’re question, but I’ve found on one of my sites (which use apache) it won’t work if I put
/page
, rather I have to remove the slash so it’s justpage
, whereas on my other site (uses nginx) it works with/page
As for your question, you can easily answer it yourself by some testing. Visit those pages on another browser (which is not logged in wp, clear cache to be safe) and check the timestamps at the bottom of page source as your refresh it a couple times, they should change on each refresh if they are not cached.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Object Cache via Memcacheyeah. i mean to ask, do they both do the same thing ?
I’ve thought hard about it …. I think I was mistaken, there may not be any issue here.
Visit the site on a different browser that is not logged in.
And remember that if you have debug enabled, it will not cache. So disable debug.
Forum: Fixing WordPress
In reply to: is_user_logged_in function outside of WordPressany answers?
I had the same problem. To fix, add at the top of .htaccess BEFORE the w3tc stuff :
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301]Forum: Fixing WordPress
In reply to: Change Category TItle in LinkI figured it out
<?php $category = get_the_category(); echo '<a href="'.get_category_link($category[0]->cat_ID).'"> TEXT HERE </a>'; ?>
I am restarting Apache because my 512mb allocated to APC fills up really quickly, and from then it it’s just increasing the Cache Full Count, which causes my site to crash after some time.
I use 512mb of memory because a smaller amount would not be enough, even 512 is not enough…..
Average load has always been like this. I got a quad core so anything below 4 is good I think.
If it helps, I would like to add that my server load goes down to 0.4 when this all happens. Usually server load is 1.5-3.0
Forum: Fixing WordPress
In reply to: Organize Latest Post by Dateanyone know ?
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Minified css and js Version #Well I don’t remember all the bugs, but one of the major ones was when I clear all Cache my apache crashes, and I have to manually restart it in SSH.
I use apc
This doesn’t happen with the current version I am using.
Resolved