locker
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Processing server errorsHi Takayuki! I think you don’t understand the problem. For example, I set limit to 5Mb in CF7 field, server limit is 10Mb (
client_max_body_size 15M;
). If user upload file with a size 15Mb, server refuse this file BEFORE php and response will be with default server error page which isn’t correct JSON, right? JS didn’t get correct response and user get infinity preloader.Forum: Plugins
In reply to: [WP Super Cache] Can’t configuring Nginx with WP Super CacheHello, Pothi. Sorry for the late reply. Seems like a problem isn’t gone. Even if I switch to Expert Mode, I still see only *.php files instead of *.html, so it’s not a NGINX problem.
Forum: Fixing WordPress
In reply to: Comments-Box not displaying on “Posts”wpfighter, YOU ROCKS. I spent 3 days to figured out, why some of my comments are closed and examine a couple core classes. Usually, all answers like “activate the checkbox”, “bulk activate comments” and blah blah blah. But no one, except you, no ask to check this. Thank you!
Forum: Plugins
In reply to: [Autoptimize] Problem using cookie free domainSorry for duplicate
Forum: Plugins
In reply to: [Autoptimize] Problem using cookie free domainMy config:
JavaScript Options
– Optimize JavaScript Code: yes
– Force JavaScript in <head>: yes
– Also aggregate inline JS: yes
– Exclude scripts from Autoptimize: s_sid,smowtion_size,sc_project,WAU_,wau_add,comment-form-quicktags,edToolbar,ch_client,seal.js
– Add try-catch wrapping: noCSS Options
– Optimize CSS Code: yes
– Generate data: URIs for images: yes
– Remove Google Fonts: yes
– Also aggregate inline CSS: no
– Inline and Defer CSS: no
– Inline all CSS: no
– Exclude CSS from Autoptimize: admin-bar.min.css, dashicons.min.cssCDN Options
– CDN Base URL: https://static.woc-news.ru
My wp-config.php
define(‘WP_CONTENT_URL’, ‘https://static.woc-news.ru’);
define(‘WP_CONTENT_DIR’, dirname(__FILE__) . ‘/wp-content’);
define(‘COOKIE_DOMAIN’, ‘woc-news.ru’);My wp-content/plugins/autoptimize/autoptimize.php
// wp-content dir, dirname of AO cache dir and AO-prefix can be overridden in wp-config.php
if (!defined(‘AUTOPTIMIZE_CACHE_CHILD_DIR’)) { define(‘AUTOPTIMIZE_CACHE_CHILD_DIR’,’/cache/autoptimize/’); }
//if (!defined(‘AUTOPTIMIZE_WP_CONTENT_NAME’)) { define(‘AUTOPTIMIZE_WP_CONTENT_NAME’,’/wp-content’); }
if (!defined(‘AUTOPTIMIZE_WP_CONTENT_NAME’)) { define(‘AUTOPTIMIZE_WP_CONTENT_NAME’,’/’.wp_basename( WP_CONTENT_DIR )); }
if (!defined(‘AUTOPTIMIZE_CACHEFILE_PREFIX’)) { define(‘AUTOPTIMIZE_CACHEFILE_PREFIX’, ‘autoptimize_’); }Finally I update cache, but nothing happened. As you se the source code still contains a lot of css/js files.
Forum: Plugins
In reply to: [Autoptimize] Problem using cookie free domainsorry, I can’t post url. domain is woc-news zone is ru
Forum: Plugins
In reply to: [Autoptimize] Problem using cookie free domainURL is https://woc-news.ru
Forum: Plugins
In reply to: [Autoptimize] Problem using cookie free domainNope, it doesn’t help for me.
Forum: Plugins
In reply to: [Autoptimize] Problem using cookie free domainGot the same bug.
My static domain config is:
server { listen 80; server_name static.site.com; root /var/www/html/site.com/public_html; }
wp-config.php
define("WP_CONTENT_URL", "https://static.site.com/wp-content");
I post “CDN Base URL” as https://static.site.com, but still got some js/css not comressed.
If I comment WP_CONTENT_URL everything is ok.
What I dooing wrong?