How to make www and non www site single site, and http and https

I am getting analytics views differently on same site with four different types of link site. Like domain name with and without www, and http and https.

So, how to make single site link for all link types? How to do redirect to one site link of all www, non www, https and http with all combinations of it.

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

Into one link,
https:// test. com

And

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.