- Make sure your WP is configured to have site address with or without
www according to your preferences;
/etc/nginx/conf.d/force-ssl-domain.com.conf and add or remove the
www prefix, according to the step above, from the line:
`return 301 https://domain.com$request_uri;`
Don't forget to
service nginx reload after editing these configurations, as well as cleaning all your caches.