Not working on local XAMPP
-
Hello,
I tried installing the plugin without luck. I’m running a locally hosted XAMPP server with Bitnami Workdpress that works with everything except W3 Total Cache.
After installing the plugin, I get the message
FTP credentials don't allow to write to file /.htaccess W3 Total Cache Error: Files and directories could not be automatically created to complete the installation. Please execute commands manually or use FTP form to allow W3 Total Cache make it automatically.So I went to the
C:\XAMPP\apps\wordpress\htdocs\wp-config.phpto check and the code is there/** Enable W3 Total Cache */ define('WP_CACHE', true); // Added by W3 Total CacheSo I manually added the suggested code by the plugin’s error in the
C:\XAMPP\apps\wordpress\htdocs\.htaccessfile, that now reads# BEGIN W3TC Browser Cache <IfModule mod_deflate.c> <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary </IfModule> <IfModule mod_filter.c> 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> </IfModule> # END W3TC Browser Cache # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPressBut the problem persists. I can’t understand what I did wrong or how to move forward to test the plugin before deploying to my website. Can anyone give me a hand with this?
The topic ‘Not working on local XAMPP’ is closed to new replies.