-
Notifications
You must be signed in to change notification settings - Fork 432
Closed
Labels
Milestone
Description
https://rtcamp.com/support/topic/www-redirect/
http://rtcamp.com/tutorials/nginx/www-non-www-redirection/
I have 2 ways:
adding www flag to site create command:
ee site create wp basic example.com -www=yes
www can have values like:
1.yes
2.no
3.both
Default is both. current behaviour. In this case app will decide www behavior.
Another style is
ee site create wp basic www.example.com will mean www=yes
and
ee site create wp basic example.com will mean www=no
Since we support subdomains...
ee site create wp basic test.example.com will always mean www=no (this is expected as it doesn't make sense to add another WWW prefix to subdomain)