I am running OpenliteSpeed on digital ocean.
I am using www with my domain and have set proper redirects. When I type only the domain name (ex: mydomain.com) in my browser address bar the website loads a bit slow but fine.
However, when I inspect(dev tools) the page it shows two 301 redirects in the networks tab before the page get a 200 status. On further tinkering, I discovered that domain.com is first redirected to https://mydomain.com/ and then to https://www.mydomain.com/
Is there a way to cut on that extra redirect and load https://www.mydomain.com/ directly when I type in the domain name in my browser address bar?
I am using www with my domain and have set proper redirects. When I type only the domain name (ex: mydomain.com) in my browser address bar the website loads a bit slow but fine.
However, when I inspect(dev tools) the page it shows two 301 redirects in the networks tab before the page get a 200 status. On further tinkering, I discovered that domain.com is first redirected to https://mydomain.com/ and then to https://www.mydomain.com/
Is there a way to cut on that extra redirect and load https://www.mydomain.com/ directly when I type in the domain name in my browser address bar?