Skip to content

[Feature Request] Add an option redirect www-alias to non-www #1343

@xolyu

Description

@xolyu

While creating a domain I can choose "ServerAlias value for the domain" as WWW (www.domain.tld). That's great because there is a ServerAlias in the vhost and the certificate is requested with alternative name as www.domain.tld - so there is only one cert for the domain and it's www-alias.

But: Now your page is served by two domains (the bare one and the www alias) and you end up with duplicate content (e.g. bad for SEO).

Describe the solution you'd like
In the "Webserver settings" of the add/edit domain page
A select field "Redirect www" with options:

  • No redirect
  • www -> non-www
  • non-www -> www

Describe alternatives you've considered
Currently it's possible for the customer to create a subdomain www and redirect them to the bare domain name. But this is more an "expensive" workaround. Expensive because: multiple certificates, multiple vhosts, more manual action required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions