after installing SSL

Hello

Today I buy an fast SSL certification for domain , after i install the certifiate everything looking good.

when i visit https://domain.com the ssl is good

but when i visit https://www.domain.com ssl everything ok but the error is 'the name of the secutiry certificate is invaild or does not match the name of the site'

because the SSL certifiate issued with domain.com not www.domain.com

how I can fix the prolem , and let everyone goes to https://www.domain.com redirect to https://domain.com anf also for example https://www.domain.com/login.php?vall=bahblah to redirect to https://e-hesab.com/login.php?vall-blahblah ???

or does any other good soluation for this?

Thanks for help

 

 

 

 

Top