G.lo
Forum Replies Created
-
Hey Jason,
Thanks a lot for all your explanation!
Actually I guess it doesn’t really matter, I just wanted to understand why. The wordpress@xxx email doesn’t even exist in reality, but in the past it would still worked fine until Gmail decided it was spam. Thanks again, I will keep using my personal email instead of the wordpress@xxx one.Working now. Just some permission issues with Google.
Just a quick question though. I can’t get the sender address to be wordpress@xxx. It is put like this in Postman SMTP and in Contact Form 7, but the send from always ends up being my envelope address whatever settings I put. Any idea? Thanks in advance!
Hi,
I have the same issue, but I’ve removed all plugins. Here is the diagnostic:
OS: Linux redhead 4.1.5-x86_64-linode61 #7 SMP Mon Aug 24 13:46:31 EDT 2015 x86_64
HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7
PHP: Linux 5.5.18-1+deb.sury.org~precise+1 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes
WordPress: 4.3.1 en_US
WordPress Theme: tdJournal Child Theme
WordPress Plugins: Postman SMTP
WordPress wp_mail Owner: /srv/www/fromoktogreat.com/public_html/wp-includes/pluggable.php
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
Postman: 1.6.24
Postman Sender Domain (Envelope|Message): fromoktogreat.com | fromoktogreat.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Transport URI: gmail_api:https:oauth2://www.googleapis.com:443
Postman Transport Status (Configured|Ready|Connected): Yes | No | Yes
Postman Deliveries (Success|Fail): 0 | 0Could it be coming from my child theme?
Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesAlright. A pity though, you’re right it would be nice to specify more the titles of the posts once the issue has been found. Could be very helpful to others!
Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesWell I would love to do that, but I can’t find the way to edit it??
Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesYeah, I actually misunderstood this directive when I used it.
Please be my guest, hope it can help others! Cheers. I’ll follow the plugin closely, you seem to have a good roadmap!Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesMy mistake! Sorry. The problem was not with the fastcgi_cache, it was that in production I forgot to add the rewrite rules. Now things are working fine. So it was just the internal blocking. Thanks again!
Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesOk after some other tests, it appears that it doesn’t work if I use the fastcgi_cache. It works the first time and at the second refresh of the browser, all the js and css are lost. Will investigate.
Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesAlright I found the issue. In my wordpress-global.conf file I had a
location /wp-content/ { internal; }
that was probably preventing the browser to access the generated files.
I’ve removed the line and things are working fine now!Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesWell actually now with the simplest site conf it works. No 404, the files are written in the cache and used correctly.
Let me post the full conf with fastcgi_cache then. Maybe there’s a rule somewhere that overrides the ones of BWP-Minify that I cannot see.
Forum: Plugins
In reply to: [Better WordPress Minify] 404 for combined and minified filesHey, thanks for answering.
1. Yep, standard. 1 site.
2. Yep, fastcgi_cache. This is the part that I used for the cache:set $skip_cache 0; # POST requests and urls with a query string should always go to PHP if ($request_method = POST) { set $skip_cache 1; } if ($query_string != "") { set $skip_cache 1; } # Don't cache uris containing the following segments if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|wp-.*.php|/feed/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") { set $skip_cache 1; } # Don't use the cache for logged in users or recent commenters if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in") { set $skip_cache 1; } #include /etc/nginx/conf.sites/bwp-minify.conf; location ~ .php$ { location ~* wp\-login\.php { limit_req zone=one burst=1 nodelay; include fastcgi_params; fastcgi_pass php5-fpm-sock; limit_req_status 403; } try_files $uri /index.php; include fastcgi_params; fastcgi_pass php5-fpm-sock; fastcgi_cache_bypass $skip_cache; fastcgi_no_cache $skip_cache; fastcgi_cache WORDPRESS; fastcgi_cache_valid 60m; } location ~ /purge(/.*) { fastcgi_cache_purge WORDPRESS "$scheme$request_method$host$1"; }
3. I use W3 Total Cache just for database and object cache.
4. Yep, the Nginx helper plugin from rtcamp.
5. I’m gonna post the nginx.conf. Also because I couldn’t find where the issue was, I’ve removed all the wordpress plugins and I’ve made the simplest conf file I can do (no fastcgi_cache, no cache at all) and because it still doesn’t work, I’m going to post this one. If you need the more complicated one with the cgi_cache let me know.
nginx.confuser www-data; worker_processes 8; pid /run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { add_header rt-Fastcgi-Cache $upstream_cache_status; limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; ## # Logging Settings ## access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ## # Gzip Settings ## gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; ## # nginx-naxsi config ## # Uncomment it if you installed nginx-naxsi ## #include /etc/nginx/naxsi_core.rules; ## # nginx-passenger config ## # Uncomment it if you installed nginx-passenger ## #passenger_root /usr; #passenger_ruby /usr/bin/ruby; ## # Virtual Host Configs ## include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; }
site conf
server { server_name wp.sleeplessmind.info; access_log /var/log/nginx/wp.sleeplessmind.info.access.log; error_log /var/log/nginx/wp.sleeplessmind.info.error.log; root /srv/www/wordpress/public_html; index index.php; location / { try_files $uri $uri/ /index.php?$args; } # BEGIN BWP Minify WP Rules # BEGIN BWP Minify Headers location ~ /wp-content/plugins/bwp-minify/cache/.*\.(js|css)$ { add_header Cache-Control "public, max-age=7200"; add_header Vary "Accept-Encoding"; etag off; } location ~ /wp-content/plugins/bwp-minify/cache/.*\.js\.gz$ { gzip off; types {} default_type application/x-javascript; add_header Cache-Control "public, max-age=7200"; add_header Content-Encoding gzip; add_header Vary "Accept-Encoding"; etag off; } location ~ /wp-content/plugins/bwp-minify/cache/.*\.css\.gz$ { gzip off; types {} default_type text/css; add_header Cache-Control "public, max-age=7200"; add_header Content-Encoding gzip; add_header Vary "Accept-Encoding"; etag off; } # END BWP Minify Headers set $zip_ext ""; if ($http_accept_encoding ~* gzip) { set $zip_ext ".gz"; } if (-f $request_filename$zip_ext) { rewrite (.*) $1$zip_ext break; } if (!-e $request_filename) { rewrite ^/wp-content/plugins/bwp-minify/cache/minify-b(\d+)-([a-zA-Z0-9-_.]+)\.(css|js)$ /index.php?blog=$1&min_group=$2&min_type=$3; } # END BWP Minify WP Rules location ~ \.php$ { try_files $uri =404; include fastcgi_params; fastcgi_pass php5-fpm-sock; } }
Thanks for the help! Greatly appreciated.