Steps to Redirect Non WWW to WWW in WordPress
Follow these steps to redirect a non-www URL to www in WordPress:
1. Please login to your wordpress first
2. After successfully logging into the WordPress dashboard, click the Settings menu and select the General submenu.
3. You will be redirected to the General Settings page. Add www to the WordPress Address (URL) and Site Address (URL) fields. Example: http://namadomain.com becomes http://www.namadomain.com.
5. Scroll down and save the settings by clicking the Save Changes button.
6. Please access the domain name without www first.
7. Congratulations! Your website has successfully redirected to the URL www.