Should I change wp-config for SSL?

You better use a .htaccess file, where you force https with: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] The file goes in the root folder of your WP installation. If there is any, put this code on the beginning of the existing file. And you can then change the settings in the WP … Read more

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

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