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

htaccess Creating Mixed Content Errors / Missing Padlock

$
0
0

Replies: 0

My website had some messed up formatting problems that were due to mixed content errors and multiple pages on my site were missing the https padlock icon. I cleaned up my non-https links and all pages looked good using whynopadlock.com.

A few days later, I saw the same wacked formatting and mixed content errors using whynopadlock. I contacted my hosting company who said everything looked fine so the problem seemed to be coming and going. This was repeated a couple of times until they discovered that W3TC edited the .htaccess which was creating problems. They kindly changed the .htaccess to the basic WP settings and everything cleared up immediately.

I’m not a power user and don’t pretend to understand all of this but my host company encouraged me to share this with W3TC in case it’s something that needs to be addressed. This problem is killing my website (assuming they are correct) so I hope there’s a more permanent solution since I assume the basic htaccess file will be overwritten with an update. (?)

The following is what my .htaccess file was:

# 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>
<IfModule mod_headers.c>
Header set Referrer-Policy “”
</IfModule>
# END W3TC Browser Cache

# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
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_PREVIEW}.html%{ENV:W3TC_ENC}” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{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


woff and woff2 don’t need compression

$
0
0

Replies: 2

woff and woff2 files are already compressed and compressing them on the fly just puts load on the server for nothing. So need to be set to off.

Handle XML mime type

$
0
0

Replies: 0

Hello,

even if I check the “Handle XML mime type” option in the Page Cache settings, clicking save the page is reloaded and the option is not checked. I’ve tried it several times, but I can not activate this option.

Thank you.

Database Cache accessing incorrect database

$
0
0

Replies: 0

Ran into an issue where information saved on one site was showing up on another. It was extremely weird, but if I disabled the W3 Total Cache plugin everything worked fine.

After further investigation, here were the issues/environment:

– Cloud Dedicated Server (Linux, Apache, PHP-FPM)
– Using Memcache
– Database Cache enabled (using Memcache)
– Sites affected were installed in different directories on the same domain & cPanel account
– Even if we migrated the sites to their own domains and cPanel accounts, we still experienced the issue
– Single WP installs, not multisite
– The onset of these issues was intermittent, and didn’t occur on all sites at any specific interval, but once it started the only way to fix was to disable W3 Total Cache.
– .htaccess was getting modified with incorrect site redirect info
– Logging into one site would redirect you to a different site, logged in, even if your credentials weren’t for that site.

I assume it has something to do with memcache, and somehow the plugin is looking to the wrong database for information. It just seems like this shouldn’t happen under any circumstances, but it did.

How To Deploy Settings with Load Balancer

$
0
0

Replies: 0

Good morning, I’ve had a lot of success with this plugin, but keep running into an issue which I asm sure here is a solution to, but I can’t find it no matter how much Googling I do.

I have two servers set up behind a load balancer, and because the config is done via the wp-admin site, even though it has a shared DB, I presume it is saving the settings in a file rather than the DB. The reason for that theory is that when I save the Page Cache setting for example, and refresh a few times, sometimes it will be checked, sometimes unchecked.

Assuming that is true, what is the correct way to save these settings across multiple servers? This also seems to rear its head when some servers auto-deploy (we are using S3), as all of our Total Cache settings are sometimes completely zeroed out.

Thank you!

PHP Fatal error & Connection Lost

$
0
0

Replies: 0

Hello Team,

While Checking My Error Log had seen this error –

PHP Fatal error: Call to a member function get() on null in /public_html/wp-includes/cache.php on line 123

The Second One is – Whenever i am trying to update product am getting message –

Connection lost. Saving has been disabled until you’re reconnected. We’re backing up this post in your browser, just in case

Please have a look at this link https://prnt.sc/kdfbvm

Regards,
Harshad D

Deleted the Plugin but Parameters left in Database

$
0
0

Replies: 0

Hi,

I had to delete the plugin, I just noticed after a few months that in the database wp_options it left the following items:

w3tc_state
w3tc_nr_application_id
w3tc_generic_widgetservices

Are these OK to delete?

Sign in with Google temporarily disabled – CDN Authorize Google Drive

$
0
0

Replies: 0

Hi guys,

When attempting to ‘Authorize‘ in the ‘CDN‘ section of the plugin so as to use Google Drive I receive the message:

Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In.

What am I missing?

Any help greatly appreciated.


error in shop page

$
0
0

Replies: 1

have a web with wp + woocommerce

WP:

WC:

Template: Bridge

The web works in Spanish as the main language, the rest of the web using its plugin works less the store page. This shop page (the main one of woocommerce) always keeps the products in Spanish, when I deactivate the plugin, I update the browser and the web works well in both languages …

They could help me because maybe it’s something simple configuration ..

Thank you.

the web is not visible because it is still in maintenance waiting to solve this problem to launch it.

Forum Test

Purge All Cache

$
0
0

Replies: 0

Hello,

This is Something new, Whenever i try to Purge all caches from above my website load time increase to something 34sec 37sec and so on.

Please have a look at this report – https://gtmetrix.com/reports/www.theinsane.in/VXQ4qPSH

Do have a look at waterfall.

one more thing after waiting for 7 to 15 Minute it gets load normaly under 3 to 5sec.

Any help towards this will be really appreciated.

Regards,
Harshad D

Clean (purge) cache after user login/logout

$
0
0

Replies: 2

Hi, I’d like to cache my WordPress site. I have the website connected to phpBB and the user can log in using the form which then sends an AJAX request and refreshes the page. The problem is when I navigate to pages that have already been visited before the user logged in. Those pages are cached as a non-logged in user. So my solution idea is: clean the cache after user logs in or logs out.

Can I do that programatically? I haven’t found any documentation on this. What’s the best way to do that please?

P.S. My site will be running on HTTPS and as a subsite of multisite.

  • This topic was modified 5 hours, 35 minutes ago by Jakub.
  • This topic was modified 5 hours, 24 minutes ago by Jakub.

Style brakes after enabling Minify CSS and JS

$
0
0

Replies: 0

Hello,

I really like your plugin so far but unfortunately every time when I enable Minify CSS and JS it always breaks the style of my website. I would like to know is this a common problem on Twenty Seventeen theme (this is the theme that I’m currently using)? Is there a solution to fix this weird issue?

Thanks

Caching 403 no cache pages.

$
0
0

Replies: 0

I have a problem… I’m using W3TC + WPMU Defender with 404 lockdown enabled.
I’m using page cache, but it ignores 403 header with no cache for lockdown pages and create cached version with error for everyone..

As I know from WPMU Support, they told me W3TC should ignore 403 pages, but for some reasons it dont..

Can I ask for help?

CSS not being minified by plugin

$
0
0

Replies: 0

Hi

I have used the plugin to eliminate render blocking CSS for most of the resources identified by Google Page Speed Insights test but there are 3 CSS resources that are not being solved even though they have been added to the plugin.The abbreviated links are as follows:

http://kingscomfort.co.za/…/b0459.default.include.ffb372.css?x85234
http://fonts.googleapis.com/…%2C700italic%2C900%2C900italic&ver=4.9.8
http://kingscomfort.co.za/…s/css/dashicons.min.css?x85234&ver=4.9.8

How do I minify these resources succesfully with the plugin so they are no longer picked up by the Page Speed Insights Test?


wp-content/cache folder size

$
0
0

Replies: 0

My cache folder under wp-content has around 40.000 files and purging all caches does not really reduce this number much. That many files makes backup process really long. What can I do to remedy this? Is it safe to just delete the contents of the folder and let the plugin create only necessary files?

S3 and gzip – what creates the files?

$
0
0

Replies: 0

I have a high volume site that uses AWS Beanstalk and S3 so it’s hard to need around for too long in production with a broken site.

I’m looking to understand what process/action generates the .gzip versions of /wp-include files that are on S3? When we make a change to the Browser settings in W3TC to enable gzip, the HTML references are looking for the .gzip version of files (eg .js) but those files aren’t [yet] on S3.

Does the W3TC CDN push to S3 generate the new .gzip versions or is there some other process?

Thanks in advance

Replace site’s hostname with CNAME errors

$
0
0

Replies: 2

I created a CNAME in cpanel and am attempting to use it to customize the links to my files hosted on S3. I have read through many tutorials and forums but haven’t found any solutions. When I enable this feature, my hosted resources all return the error:
Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID

I am using HTTPS, and links use HTTPS, but when I try to directly follow the links that are generated with the CNAME I get the insecure browser message “Your connection is not private” screen. If I remove the “S” and follow the same links (HTTP) then the resource is accessible.

So somewhere along the way there is a security issue? I have a self-hosted cpanel-generated SSL on my domain and requested a wildcard one from Amazon for my domain as well.

Does anyone know how to solve this? I know I am missing a step or some crucial information, but can’t seem to find answers anywhere. Is there something I need to configure in W3TC, my server, or S3?

Any help is appreciated!

EDIT: site pw is “sirules”

Thanks,
j

  • This topic was modified 5 hours, 6 minutes ago by jdyach. Reason: updated w/ site access
  • This topic was modified 4 hours, 41 minutes ago by jdyach.

Manual minify – should I add version parameters in file mgmt

$
0
0

Replies: 0

Google Page Speed Insights shows a bunch of javascript and CSS files that are render blocking.

If I want to add these to file management should I enter them with the complete URL including the version parameter or is it sufficient if I enter the URL without any parameters?

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

Can this plugin upload files to Amazon S3 ?

$
0
0

Replies: 0

Hello,

I need all files uploaded to uploads folder to be uploaded directly to Amazon S3 and loaded them from Amazon, or uploaded the my server immediately deleted in order to offload my server. Can this plugin do that ? Thank you

Viewing all 19290 articles
Browse latest View live


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