Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all 19339 articles
Browse latest View live

How to safely remove W3 Total Cache in .htaccess file?

$
0
0

Replies: 0

To Whom It May Concern:

For reason I don’t know, W3 Total Cache does not work well in one of my managed website, and considering the online user feedback about “Crashing websites), I decided to removed the plugin, and then, the removal is such a painful process. I had to took the risks to removed files via FTP, and then some user suggests to check.htacccess file, I did, and there is something in it, but among all user feedback web pages, none of them mentioned details how and which part to remove it, expect leaving a warning and stated “be careful” about this step…, so here I am, would someone be kind enough to shed some light on how to remove the content generated by W3TC plugin in .htaccess? Below the dash-line is the link I copied and pasted, thanks for your attention.

————————————————————————

# BEGIN W3TC Browser Cache
<IfModule mod_deflate.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/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
    <IfModule mod_mime.c>
        # DEFLATE by extension
        AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
</IfModule>
<FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$">
    <IfModule mod_headers.c>
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
</FilesMatch>
<FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$">
    <IfModule mod_headers.c>
         Header unset Last-Modified
    </IfModule>
</FilesMatch>
# END W3TC Browser Cache
# BEGIN W3TC CDN
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css)$">
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
# END W3TC CDN
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} =on
    RewriteRule .* - [E=W3TC_SSL:_ssl]
    RewriteCond %{SERVER_PORT} =443
    RewriteRule .* - [E=W3TC_SSL:_ssl]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* - [E=W3TC_ENC:_gzip]
    RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
    RewriteRule .* - [E=W3TC_PREVIEW:_preview]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =""
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
    RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
    RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
</IfModule>
# END W3TC Page Cache core
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
  • This topic was modified 7 hours, 5 minutes ago by Ben XY.
  • This topic was modified 2 hours, 24 minutes ago by Steve Stern. Reason: put code in backticks

Apache warning: Request exceeded the limit of 10 subrequest nesting levels…

$
0
0

Replies: 0

When minify and gzip is turned on, Apache logs warning AH00125: Request exceeded the limit of 10 subrequest nesting levels due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary.

Screenshot from debug

This seems to be a bug with minify rewrite on file /wp-content/cache/minify/.htaccess

Apache MultiViews is disabled and Apache negotiatiaton module is enabled.

This can be fixed by changing line from file /wp-content/cache/minify/.htaccess
RewriteRule .* - [E=APPEND_EXT:_gzip]

to
RewriteRule .* - [E=APPEND_EXT:.gzip]

Also this can be fixed by turning off “Rewrite URL structure”.

Could we have a permanent fix for this?

  • This topic was modified 4 hours, 48 minutes ago by Riku S..
  • This topic was modified 4 hours, 34 minutes ago by Riku S..

How to know if w3 total cache is working?

$
0
0

Replies: 0

Hi there!

The only way is to pay and see the cache stats?

I have activated it, without paying… and now I have no idea whats is going on… how many pages are cached, if it is working, or something… I have no idea…… nothing, zero…
There is no way to see “something”?

Best regards!
Luciano

W3 conflict issue

$
0
0

Replies: 0

I get the following error on my site sporadically unless w3 is disabled: fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

Advise on settings

$
0
0

Replies: 0

Hi,

I’ve installed W3 Total cache (free version) and sometimes pages are fast, then after a while they are slow again. I’ve set most of the W3 Total cache to expire after 24 hours, some settings more sensitive to changes to an hour.
I’ve installed Warm cache, but it’s not working 100% to keep all pages fast all the time. We have a sitemap with 624 urls total. The warm cache runs 30 pages every 30 minutes, however, the pages aren’t always up to speed. Can someone advise me on better settings? Thank you.

Headers already sent php error in relation to functions.php file

$
0
0

Replies: 0

OK so we suddenly got a php headers already with your plugin switched on which was both on the live site and the wordpress admin.

Changing the name of the plugin so it could not run at all brough the site back but produced a blank page on login page.

Debugging the errors then the admin page changed from being blank to the 3 related files in wp-content.

Then changed the filenames and the error changed to the headers already sent one as mentioned above.

Reverted functions.php file to standard and that removed the error message

Some changes been made to functions to noindex some query strings that were related to woocomerce for SEO purposes as they were duplicate content – this doesn’t send any headers by the way but inserts a robots meta tag into the head. This seems the issue when working in the plugins section afer de-activating the plugin with the original and changed functions file.

Then managed to narrow it down to css minifciation (the live site wasn’t displaying properly with the problem hence this was an educated quess) and so we could get the site and wp admin section to run perfectly with the css minification not on – tried switching the various fetures of css minification on and off including http2 push but only worked with everything off.

I don’t know if this is a standard problem but thuought it weird and weirder still that functions.php doesn’t seem to have anything to do with speed optimisation yet changing it caused the problem.

Is W3 Total Cache Still Supported?

$
0
0

Replies: 0

I’m wondering if anyone knows if the developer is still supporting this plugin? It hasn’t been updated in 2 months despite the issues reported with both version 0.9.5.3 and 0.9.5.4. I haven’t seen any responses from the plugin developer in any of the threads that reported the issues.

We have this plugin installed on quite a few client sites (around 20), and we are still running version 0.9.5.2 because of the reported issues. We haven’t even installed it on some of our most recent sites due to the reported issues.

We’d like to keep using this plugin, but if it isn’t being supported anymore, we are going to have to find an alternative.

Will W3 Total Cache be upgraded to compatibility with WordPress 4.8?

$
0
0

Replies: 0

Will W3 Total Cache be upgraded to compatibility with WordPress 4.8 soon?


cloudfront CDN slower speeds?

$
0
0

Replies: 0

ive activated cloudfront as my CDN (pull) and after testing speed on both pingdom and page insights, my site is ~20% slower than it was without the CDN. is that expected and is there anything else I should be checking/looking for? I’ve tested several times over 3 days at different times and the results are consistent…

all cpu core usage 100%

$
0
0

Replies: 0

When i upgrade your plugin new version, my server’s fast-cgi service usage my all cpu core 100%. When i deactive your plugin, CPU usage is returning to normal.

My Server
——————
Nginx + Php-Fpm + wordpress 4.8 + W3 Total Cache Version 0.9.5.4

WT3C Warnings Opendir

$
0
0

Replies: 0

Hello,
I recently received these two warnings in DebugBar regarding your plugin:

WARNING: wp-content/plugins/w3-total-cache/Util_File.php:124 – opendir(/…/wp-content/cache/db/options_comments/): failed to open dir: No such file or directory
wp_dashboard, do_meta_boxes, WC_Admin_Dashboard->status_widget, WC_Admin_Dashboard->get_sales_report_data, WC_Report_Sales_By_Date->get_report_data, WC_Report_Sales_By_Date->query_report_data, WC_Admin_Report->get_order_report_data, set_transient, wp_cache_set, W3TC\ObjectCache_WpObjectCache->set, W3TC\ObjectCache_WpObjectCache_Regular->set, W3TC\ObjectCache_WpObjectCache_Regular->_transient_fallback_set, update_option, W3TC\DbCache_Wpdb->update, W3TC\DbCache_WpdbInjection_QueryCaching->update, W3TC\DbCache_WpdbInjection_QueryCaching->_flush_cache_group, W3TC\Cache_File->flush, W3TC\Util_File::emptydir, W3TC\Util_File::rmdir, opendir

and

WARNING: wp-content/plugins/w3-total-cache/Util_File.php:124 – opendir(/…/wp-content/cache/db/options/): failed to open dir: No such file or directory
wp_dashboard, do_meta_boxes, WC_Admin_Dashboard->status_widget, WC_Admin_Dashboard->get_sales_report_data, WC_Report_Sales_By_Date->get_report_data, WC_Report_Sales_By_Date->query_report_data, WC_Admin_Report->get_order_report_data, set_transient, wp_cache_set, W3TC\ObjectCache_WpObjectCache->set, W3TC\ObjectCache_WpObjectCache_Regular->set, W3TC\ObjectCache_WpObjectCache_Regular->_transient_fallback_set, update_option, W3TC\DbCache_Wpdb->update, W3TC\DbCache_WpdbInjection_QueryCaching->update, W3TC\DbCache_WpdbInjection_QueryCaching->_flush_cache_group, W3TC\Cache_File->flush, W3TC\Util_File::emptydir, W3TC\Util_File::rmdir, opendir

They are warnings, so nothing exactly broken. The warnings can be hidden.
More of an FYI really. Thanks for the great plugin!

Best,
designdrumm

Admin Crashed

$
0
0

Replies: 0

My admin has totally crashed. I cant do anything with out getting this error

W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/advancedbehavior/public_html/wp-content/advanced-cache.php.

Plus this:

Deletion failed: W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/advancedbehavior/public_html/wp-content/advanced-cache.php. {“success”:true,”data”:{“delete”:”plugin”,”slug”:”employee-spotlight”,”plugin”:”employee-spotlight\/employee-spotlight.php”,”pluginName”:”Employee Spotlight”}}

I login FTP and sorry to say none of these files exist. I even tried just downloading the newest plugin unzipping and installing the folder in wpcontent/plugins

nothing is working

/wp-content/advanced-cache.php
/wp-content/db.php
/wp-content/object-cache.php

  • This topic was modified 1 hour, 45 minutes ago by bformhals19.

You have an error in your SQL syntax;

$
0
0

Replies: 0

MariaDB server 10.1.25

PHP message: WordPress You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '))) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') ORD' at line 1 для запроса SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND ((())) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') ORDER BY wp_posts.post_date DESC LIMIT 0, 200, сделанного include('fix.php'), require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb->default_query"

W3TC and Slider Revolution

$
0
0

Replies: 0

Hi!
Since I use W3tc I can no longer modify my sliders, the panels are locked…
Do you have a solution?

Thx

Exclude PDF files from caching

$
0
0

Replies: 1

Hi, using W3 Total Cache with MaxCDN. For certain reasons I would like PDF files to be excluded from caching. Can this be done?
Thanks!


Install or not?

$
0
0

Replies: 0

I just wanted to ask if it makes sense to install w3tct if I already have fastcgi page caching and redis object cache on my VPS. My PHP version is 7.1. Would it help me integrate with Cloudflare?

Exclude PDF files from being cached

$
0
0

Replies: 0

Thought I had figured it out but I was wrong. I’m using W3 Total Cache with MaxCDN. For certain reasons I would like PDF files to be excluded from caching. Can this be done?
Thanks!

Unable to edit/add a page with W3 Total Cache

$
0
0

Replies: 0

Hi there,

Recently I faced up an issue. There is no issue while my site is live and everything is fine. But once I want to edit/add a page or product I receive an Error 520. When I click on update/publish button it takes a long time to show me reaction then a page Error pops up. I use MAXcdn and also SSL Cloudflare. I contacted with my web host and they said the issue is not from their side.
Then I found out when I deactivate the W3 Total plugin the issue is fixed and when I active the plugin the problem comes back again. What should I do?

This is Error message:

Error 520 Ray ID: 37be883a1809303c • 2017-07-09 22:01:15 UTC
Web server is returning an unknown error

Ben

Woocommerce DBcache – _wc_session_

$
0
0

Replies: 0

Hello,

I have 2 customers who use Woocommerce with W3t Cache and every time they add new products in the backend visitors cannot see them until I purge all caches. BOTH customers have the same issue.

They have only EDITOR access to the backend so they cannot purge caches themselves.

I have made sure that _wc_session_ is set in DBCACHE page in the “Ignored query stems” section. No error is shown on the page showing _wc_session_ needs to be set so I assume I have done it correctly.

How can newly added products be seen automatically when using woocommerce and wt3 cache.
Thanks.

Varnish Control Key support for W3TC plugin?

$
0
0

Replies: 0

Basically my web hosting just updated the server where my site is hosted and now they use a secret key for varnish console so they kindly advised me to install the only WP plugin that currently supports this function (https://wordpress.org/plugins/purge-varnish/) but I don’t like having 100 plugins installed, so is there anyone who managed to achieve the same result using W3TC?

  • This topic was modified 1 hour, 39 minutes ago by LordSilver.
Viewing all 19339 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>