Why can't I create wordpress sites on www like www.example.com?
It automatically creates example.com even if I try to create www.example.com.
Here's the code I'm using: wo site create www.example.com --wpfc --letsencrypt
wo site create www.example.com --wpfc --letsencrypt
mike Just add a DNS entry for www and change Site Address & WP Address from your Website Dashboard > Settings > General to www one. This should be sufficient.
nsgoyat Added www in wordpress settings & created a DNS entry, but now the website is accessible from both www & non-www
Here are some existing threads where you can find detailed solutions:
nsgoyat I wanted www.example.com to be the sole domain and have the naked example.com to redirect to www.example.com, as it happens when I create a naked example.com
Achieving this seems a bit involved from the links you have sent, anyways thanks for the help!
Has your problem been solved or you still need any help on this?
the setting>>General Settings and change WordPress Address (URL) to Site Address (URL) WWW
Question??>>how to redirect www to non www
Hosted by VirtuBox