Domain redirects (e.g. apex to www)
B
Bart Verkoeijen
To benefit SEO, I would like to redirect the apex domain (example.com) to the www subdomain (www.example.com). Currently the HTTP Redirect rules only apply to the paths, and the static website also has the root path / in use. Ideally I can select a domain redirect per domain, and choose the type of redirect e.g. 302, etc. This could also be setup for the starter domain, for the same SEO reasons.
C
Cameron Parry
This would be really useful, especailly for static sites where you can't handle the redirect within the app itself. At the moment I'm having to use Cloudflare redirect rules instead.
J
Jesse Rykerson
I agree, this would be very helpful for obvious SEO reasons. According to the DO documentation https://www.digitalocean.com/community/tutorials/how-to-redirect-www-to-non-www-with-nginx-on-ubuntu-14-04, these redirects need to be set up through an SSH connection but SSH is not available in the app platform. Due to this and what Bart mentioned previously, there is no way to direct an apex domain to a www subdomain (or the reverse). It seems like Bart's idea of allowing redirects per domain in the app settings would allow domain redirects in the app platform without needing SSH.