Pagination in WP query with transient API
Did you try this? $paged1 = (get_query_var(‘page’)) ? get_query_var(‘page’) : 1;
Did you try this? $paged1 = (get_query_var(‘page’)) ? get_query_var(‘page’) : 1;
Interesting … Performance Improvement is a difficult area … but here are some tips. Performance Tips 1. Turn off all plugins including W3TC and run tests again on gtmetrix.com and pingdom tools 2. Keep this as your ‘baseline’ performance. 3. Turn on all your usual plugins and run the tests again and note the results … Read more
Yes. You are missing the rewrite rules that’ll prettify the URLs of the minified assets. Follow the instructions available for your setup at WordPress Dashboard > Performance (W3 Total Cache menu) > Install.
what WordPress/site files normally go into the S3 bucket in order to get optimal use as a CDN? Normally the defaults should suffice i.e., You’d want to check these options under the “General” section: Host attachments Host wp-includes/ files Host theme files Host minified CSS and JS files Host custom files And under “Advanced” section: … Read more
For database caching you should try Memcached instead, in PHP 5.5, APC for W3 Total Cache will not work like for 5.4 or 5.3.
Splash pages on a high traffic site
Get post id of permalink for a specific custom post type?
Yes, you can use a htaccess. In fact, I often recommend htaccess based protections over plugins because they do not depend upon PHP code or WordPress. The use a completely independent system – Apache. The more important question is: Do your htaccess rules protect against the threats you with to mitigate? Some protections may require … Read more
This turned out to be an issue between a php.ini file in my wordpress installation and the system’s php.ini file. WordPress will use the one in its directory and ignore everything in the system php.ini file. Deleting the wordpress php.ini file fixed the issue.
If you have followed the code of the recent page widget then what you are trying to achieve can’t be done as naively as you are trying to do it. Recent posts widget caching is based on the assumption that the same output is displayed everywhere which is why it can calculate the cache on … Read more