Robin Glauser


My Blog about Development, Design and my random thoughts.

Force a domain redirection with a .htaccess file

Because of the RFC 6265¬†and for the SEO effort you should always redirect all your aliases to the www subdomain. Else all the cookies created for the robinglauser.ch (without www) will be sent to all the subdomains (e.g. cdn.robinglauser.ch). Also you don’t have the possibility to set multiple servers (Round-robin) for your domain, as there can be only one A … Read More