⚠️ This Can Bring Your Site Offline if You Aren't Careful
WordPress Codex Reference: http://codex.wordpress.org/Changing_The_Site_URL
Remarkably, this is a very simple process within WordPress. Each time URL settings are saved in WordPress, the back-end will regenerate your permalinks and rebuild your database.
To Add or Remove WWW from your Site URL, simply follow these instructions:
- Log into the WordPress Admin Dashboard (.../wp-admin)
- Go to Dashboard > General Settings
- Change the WordPress Address (URL) and the Site Address (URL) to whatever you're wanting. If you change the domain name itself, you may take your website offline.
- Only change the domain name itself (the part AFTER the WWW - E.G. 'example.com') if you know what you're doing.