Add custom field name and value as follows Name: query_args Value: cat=107 here 107 is category ID
Archives for July 2019
How to Leverage Browser Caching for Images, CSS and JS in .htaccess
Leverage browser caching specify how long web browsers should keep images, CSS and JS stored locally. Add the following lines to the .htaccess file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType application/javascript "access 1 month" ExpiresByType application/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ## EXPIRES CACHING ## |
Fix “Specify a Vary: Accept-Encoding Header” Warning in Apache Server
Add the following lines to your WordPress .htaccess
1 2 3 4 5 |
<IfModule mod_headers.c> <FilesMatch ".(js|css|xml|gz|html)$"> Header append Vary: Accept-Encoding </FilesMatch> </IfModule> |
WordPress Speedup
How to speedup your slow WordPress website? Take a speed test of the website. There are several tools to test website speed. Pingdom Website Speed Test at in https://tools.pingdom.com PageSpeed Insights https://developers.google.com/speed/pagespeed/insights/ Performance Insights report and solution (pingdom). Specify a vary accept-encoding header. [.htaccess] Leverage browser caching. [.htaccess]