Skip to content

www and non-www handling #71

@rahul286

Description

@rahul286

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions