mocinka
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Cache priming doesn’t cache listing pages 2, 3, 4, etc.Hello, I’m already using real cron, sitemaps and wp command.
The issue is that W3TC does not crawl the site like a normal user or search engine, it only reads URL list (sitemap xml), and the sitemap files usually don’t contain paging URLs (pages 2, 3, 4…).
I see no solution. Is W3TC going to introduce a crawling bot anytime soon?
All I can see is a workaround, which would be a custom sitemap generator. This generator would include all the pages from all the categories. I don’t know how to easily get this type of data. Do you know any plugin or code snippet which solves this? I’m sure you already came across this issue 🙂
Thank you!
Forum: Plugins
In reply to: [W3 Total Cache] Cache priming in other languages is not workingThank you for pointing me in the right direction.
I have created a root sitemap, for W3TC purposes only, and set this sitemap in the W3TC cache priming settings. This sitemap contains links to basic sitemaps (intended for search engines) in all languages AND extended sitemaps (intended for W3TC cache priming purposes only) in all languages, which contain pages missing in basic sitemaps. I have included category pages in the extended sitemaps; pagination pages would be cool to include too, I haven’t figured it yet how to do it.
Example of root sitemap for W3TC:
<?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>https://www.yourwebsite.com/sitemap.xml</loc> </sitemap> <sitemap> <loc>https://www.yourwebsite.com/sitemap_extended_w3tc.xml</loc> </sitemap> <sitemap> <loc>https://www.yourwebsite.eu/sitemap.xml</loc> </sitemap> <sitemap> <loc>https://www.yourwebsite.eu/sitemap_extended_w3tc.xml</loc> </sitemap> <sitemap> <loc>https://www.yourwebsite.jp/sitemap.xml</loc> </sitemap> <sitemap> <loc>https://www.yourwebsite.jp/sitemap_extended_w3tc.xml</loc> </sitemap> <sitemap> <loc>https://www.yourwebsite.de/sitemap.xml</loc> </sitemap> <sitemap> <loc>https://www.yourwebsite.de/sitemap_extended_w3tc.xml</loc> </sitemap> </sitemapindex>
Of course, an extended sitemap can be a static XML file, or a dynamic PHP file generating sitemap from database.
This should be in FAQ.
Forum: Plugins
In reply to: [W3 Total Cache] Brotli Compression Installed But Not Available In W3TC1) install brotli
apt-get install brotlitest if installed:
$ brotli –version
brotli 1.0.72) install PHP extension
https://github.com/kjdev/php-ext-brotli$ cd /tmp
$ git clone –recursive –depth=1 https://github.com/kjdev/php-ext-brotli.git
$ cd php-ext-brotli
$ phpize
$ ./configure
$ make
$ make installreload apache and test if installed (in case of PHP 7.4):
$ phpquery -v 7.4 -s apache2 -m brotli
brotli (Enabled for apache2 by local administrator)3) go to WP admin -> W3TC -> Browser cache -> checkbox “Enable HTTP (brotli) compression” is now available (there are 3 checkboxes, check them all)
4) reset W3TC page cache
5) test with brotli checker
https://tools.keycdn.com/brotli-testHave you already fixed that? 🙂
Improved how-to / try this instead:
1) set WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY to true
2) self destruct
3) enable plugin
4) go to WP backend -> Settings -> Easy WP SMTP -> Additional Settings -> View log
5) you will see
<b>Notice</b>: Undefined index: log_file_name in <b>www/wp-content/plugins/easy-wp-smtp/easy-wp-smtp.php</b> on line <b>260</b><br />
at the start of the pageI can see the message even after checking “Enable Debug Log” to true, saving SMTP settings and sending test message.
The error disappears after sending first message via php mail() function (any contact form plugin uses it).Now I think this error is minor, however you can fix it anyway 🙂
#modlook
to mods: see original post – please remove everything before wp-content/ from path in the error message. Thanks.
These are 2 separate issues, not related to each other.
–
OT: are you able to edit messages in the forum (as a moderator)?Hello,
how to reproduce:
1) enable PHP error output. Every developer knows how to to this, for example, place this into wp-config.php:
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, true);2) go to WP backend -> Settings -> Easy WP SMTP -> Additional Settings -> View log
3) you will see
<b>Notice</b>: Undefined index: log_file_name in <b>www/wp-content/plugins/easy-wp-smtp/easy-wp-smtp.php</b> on line <b>260</b><br />
at the start of the pageIf you don’t see it, then try it with fresh installed plugin.
I can reproduce the bug.
I cleared “From Name” field and unchecked “Force From Name Replacement” and the error message “please configure your SMTP credentials” is back.
Currently both fields must be configured/enabled to get rid of the message.
I had the very same problem. I have managed to save the data after 25 tries. First I tried to save the form with “From Name” left blank, then I gave up and tried to fill in all the fields. Even filling in all the fields didn’t help right away. Custom theme, PHP7.2, many plugins, no PHP errors seen.
This was just my two cents on the topic. Feel free to improve the original post. 🙂
Everything is working, this is just a bug report for “View log” functionality. Make sure you have WP_DEBUG_DISPLAY set to true.
I installed the plugin on a fresh wordpress site and the issue is the same.
There is still no “Add cookie” button and the section is not visible at all ( https://d33v4339jhl8k0.cloudfront.net/docs/assets/559c68b9e4b03e788eda1692/images/5ca775cc0428633d2cf48353/file-9C7UNfLSjf.png )