w3 total cache post confusion me
-
dear friends
i need your support,i install w3total cache,it downloaded,but on clicking the activation botton it show up message that it can only be done through ftp or manually to complete the process,am a bit new and did not want to use ftp,i usually to my things in cpanel.when i click the manually tab option the follow display:Edit file /home/ourtownw/public_html/wp-config.php and add next lines:
/** Enable W3 Total Cache */
define(‘WP_CACHE’, true); // Added by W3 Total Cachemy question: i was able to navigate to the wp-config.php i saw lot of codes,where should i add the /**enable w3 total cache codes stuff that is above?
and the 2nd part which i understand is Edit file /home/ourtownw/public_html/.htaccess and add the following rules above the WordPress directives:
# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
# END W3TC Browser Cacheand a line just below say
Execute next commands in a shell:
cp /home/ourtownw/public_html/wp-content/plugins/w3-total-cache/wp-content/advanced-cache.php /home/ourtownw/public_html/wp-content/advanced-cache.phppls i need how to get this done the site is ourtownweb.com
- The topic ‘w3 total cache post confusion me’ is closed to new replies.