WordPress & Fastcgi proper setup?

clearing up external caches is hard, probably the best way to handle it is to set the cache expiry time to the longest time period in which you can afford to show “stale” information, and let the caches expire by themselves. (and hopefully you do not cache admin sessions….)

Nginx Wildcard SSL with WordPress Multisite Subdomains

You can use regular expressions in the server_name directive, but wildcard names (e.g. *.example.com) take precedence. See this document for details. For example: server { listen [::]:80 ipv6only=off; server_name ~^(www\.)?(?<name>(.+\.)?example\.com)$; return 301 https://$name$request_uri; } server { listen 443 ssl; listen [::]:443 ssl; include snippets/ssl-example.com.conf; include snippets/ssl-params.conf; server_name ~^www\.(?<name>(.+\.)?example\.com)$; return 301 https://$name$request_uri; } server { listen … Read more

Cannot update WordPress to 5.2

All directories should be 755 or 750. All files should be 644 or 640. Exception: wp-config.php should be 440 or 400 to prevent other users on the server from reading it. No directories should ever be given 777, even upload directories. Since the PHP process is running as the owner of the files, it gets … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)