WordPress: Add or remove ‘www’ from your url
In most cases we see that when we try to open any site then it add ‘www’ in the url or remove from the url. This can be manage by Htaccess in general sites on the server. Wordpres provides a good facility to manage this url setting.
1. Go Settings > General
2. Set WordPress address and Site address for your site.
3. Change according your requirement and save this setting.
You will see that your domain will redirect according your settings.