The redirect method for www. has a snag. Most browsers seem to look for a www.mydomain.com cert before following the redirect. This results in users seeing a warning and not redirecting.
The solution is to add a second domain arg to each of the commands. EG:
The redirect method for www. has a snag. Most browsers seem to look for a
www.mydomain.com
cert before following the redirect. This results in users seeing a warning and not redirecting.The solution is to add a second domain arg to each of the commands. EG:
You'll still want to add the redirect, but this will now avoid the error for users.