René
Forum Replies Created
-
Looks inconspicuous to me …
https://monosnap.com/file/gfLlEQpRnaY09L88jtdecoxl3kUupF
- This reply was modified 5 years, 2 months ago by René.
No data 😞 https://monosnap.com/file/oaNMg3JgklAqZIv4bnmf2zmByX9lPk
my settings https://monosnap.com/file/6XsAGgWtm7ppIvcXAY6y6uBFk4bTTK
how can I check WP Cron?
edit: i noticed that the database size has increased. last week it was 1.78 and now it is 1.81. so obviously something is being tracked but not displayed.
- This reply was modified 5 years, 2 months ago by René.
Forum: Plugins
In reply to: [Cache Enabler] Advanced configuration does not workYes, even then the behavior persists if the query string exclusion is commented out.
I understand the limited support, only it ran great across all versions and since 1.7.x it just doesn’t run at all, on all my installations. So something in the update must have been changed fundamentally.
Forum: Plugins
In reply to: [Cache Enabler] Advanced configuration does not workThe problem remains unchanged. Any ideas? I have to use an old plugin version on several installations now because of this limitation.
After I deleted the file koko-analytics-collect.php and saved the settings again, the file pageviews.php is now also available. Stats are still not displayed.
<?php /** * @package koko-analytics * @license GPL-3.0+ * @author Danny van Kooten * * This file acts as an optimized endpoint file for the Koko Analytics plugin. */ // path to pageviews.php file in uploads directory define('KOKO_ANALYTICS_BUFFER_FILE', '/data/web/1/000/018/061/26351/htdocs/xxx/wp-content/uploads/pageviews.php'); // path to functions.php file in Koko Analytics plugin directory require '/data/web/1/000/018/061/26351/htdocs/xxx/wp-content/plugins/koko-analytics/src/functions.php'; // function call to collect the request data KokoAnalytics\collect_request();in the root of the uploads directory? no, there are only my upload folders
I have tried this several times and it has not changed anything.
Forum: Plugins
In reply to: [Cache Enabler] Advanced configuration does not workScreen: https://monosnap.com/file/hpRqPkMzsVO0ODRzO4PNa27eQ73VgO
Code:
# BEGIN Cache Enabler <IfModule mod_rewrite.c> <IfModule mod_setenvif.c> RewriteEngine On RewriteBase / # cache directory SetEnvIf Host ^ CE_CACHE_DIR=/wp-content/cache/cache-enabler # default cache keys SetEnvIf Host ^ CE_CACHE_KEY_SCHEME http- SetEnvIf Host ^ CE_CACHE_KEY_DEVICE SetEnvIf Host ^ CE_CACHE_KEY_WEBP SetEnvIf Host ^ CE_CACHE_KEY_COMPRESSION # scheme cache key RewriteCond %{HTTPS} ^(on|1)$ [OR] RewriteCond %{SERVER_PORT} =443 [OR] RewriteCond %{HTTP:X-Forwarded-Proto} =https [OR] RewriteCond %{HTTP:X-Forwarded-Scheme} =https RewriteRule ^ - [E=CE_CACHE_KEY_SCHEME:https-] # compression cache key <IfModule mod_mime.c> SetEnvIf Accept-Encoding gzip CE_CACHE_KEY_COMPRESSION=.gz AddType text/html .gz AddEncoding gzip .gz </IfModule> # get cache file SetEnvIf Host ^ CE_CACHE_FILE_DIR=%{ENV:CE_CACHE_DIR}/%{HTTP_HOST}%{REQUEST_URI} SetEnvIf Host ^ CE_CACHE_FILE_NAME=%{ENV:CE_CACHE_KEY_SCHEME}index%{ENV:CE_CACHE_KEY_DEVICE}%{ENV:CE_CACHE_KEY_WEBP}.html%{ENV:CE_CACHE_KEY_COMPRESSION} SetEnvIf Host ^ CE_CACHE_FILE=%{ENV:CE_CACHE_FILE_DIR}/%{ENV:CE_CACHE_FILE_NAME} # check if cache file exists RewriteCond %{DOCUMENT_ROOT}%{ENV:CE_CACHE_FILE} -f # check request method RewriteCond %{REQUEST_METHOD} =GET # check permalink structure has trailing slash RewriteCond %{REQUEST_URI} /[^\./\?]+(\?.*)?$ # check excluded query strings RewriteCond %{QUERY_STRING} !^(?!(fbclid|ref|mc_(cid|eid)|utm_(source|medium|campaign|term|content|expid)|gclid|fb_(action_ids|action_types|source)|age-verified|usqp|cn-reloaded|_ga|_ke)).+$ # check excluded cookies RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_ # deliver cache file RewriteRule ^ %{ENV:CE_CACHE_FILE} [L] </IfModule> </IfModule> # END Cache EnablerForum: Plugins
In reply to: [Featured Image Plus] how to remove featured image via the Quick Editwow! thanks for the quick response and the update!
Forum: Plugins
In reply to: [Cache Enabler] no active cache after update to 1.6.0What version did you update from?
1.5.5 to 1.6.0 via wordpress auto update
Forum: Plugins
In reply to: [Cache Enabler] complete cache is deletedoh man, that took time. 😄 here my solution:
function clear_pagination_cache_on_publish_post() { if ( class_exists('Cache_Enabler' )) { Cache_Enabler::clear_page_cache_by_url( get_home_url(), 'pagination' ); Cache_Enabler::clear_page_cache_by_url( 'https://www.site.de/ticker/', 'pagination' ); // Cache_Enabler::clear_page_cache_by_url( 'https://www.site.de/page/', 'subpages' ); // Cache_Enabler::clear_page_cache_by_url( 'https://www.site.de/ticker/' ); } } add_action( 'publish_shortnews', 'clear_pagination_cache_on_publish_post', 10, 2 ); add_action( 'publish_post', 'clear_pagination_cache_on_publish_post', 10, 2 ); function clear_post_cache_on_edit_post() { if ( class_exists('Cache_Enabler' ) && get_post_status() == 'publish') { Cache_Enabler::clear_page_cache_by_url( get_permalink(), 'subpages' ); } } add_action( 'edit_shortnews', 'clear_post_cache_on_edit_post', 10, 2 ); add_action( 'edit_post', 'clear_post_cache_on_edit_post', 10, 2 );it would be nice if someone would look over it and say if it could be used that way without any problems?
- This reply was modified 5 years, 7 months ago by René.
Forum: Plugins
In reply to: [Cache Enabler] complete cache is deletedi have noticed some strange behaviour. if i edit an unpublished post, the whole cache is deleted. if i edit an already published post, this does not happen.
Forum: Plugins
In reply to: [Cache Enabler] no active cache after update to 1.6.0the complete reinstallation of the plugin fixed the problem. sorry.
Forum: Plugins
In reply to: [Cache Enabler] AMP cache is not clearedi have tried to fix it that way, i think it works, but i do not know if it is optimal.
function clear_post_cache_on_edit_post() { if ( class_exists( 'Cache_Enabler' ) ) { Cache_Enabler::clear_page_cache_by_url( get_permalink( $post_id ), 'dir' ); } } add_action( 'edit_cpt_news', 'clear_post_cache_on_edit_post', 10, 2 ); add_action( 'edit_post', 'clear_post_cache_on_edit_post', 10, 2 );