Question
How to switch from using naked domain to WWW
I set up my domains in the DNS to have www redirect to my naked domain: https://sitename.com
After doing a lot of research it seems that the better choice is to use the www. in the domain:
- https://www.yes-www.org/why-use-www/
- https://serverfault.com/questions/408017/why-does-heroku-warn-against-naked-domain-names
- https://www.wpbeginner.com/beginners-guide/www-vs-non-www-which-is-better-for-wordpress-seo/
What do y'all suggest? I can easily tweak my DNS settings here to push naked domain to WWW. But my big concern is how to update these settings on Apache (through the one-click install that I did for Wordpress.)
I haven’t launched my site officially yet so I won’t have to deal with 301’s, but I’ve read that one would need to update the .htaccess file to do make the switch.
What else needs to be done?
Can someone outline all of the implications of making this switchover and what should be done to WP, the webserver (Apache), and also in my domains console with DO?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×