Categories
Server

Redirect Domain and WWW Subdomain (both HTTP and HTTPS) to HTTPS Root Domain

Configure so that:

https://www.example.com
http://www.example.com
http://example.com

Redirects to:

https://example.com

Check out this answer and guide:

 

Design a site like this with WordPress.com
Get started