i wish to repair url redirect problem as beneficial by pagespeed.
i all the time enter direct url within the browser like instance.com, i by no means kind http:// or https:// or www. or https://wwww and count on identical from the guests. The problem I am going through now’s that, getting into direct url is being thought of as http request , which is redirected to https request which is then redirected to https://www. request. There was yet one more redirection request of trailing slash which I prevented by altering the permalink construction from admin dashboard. How can these redirections be fastened and the consumer will get on to https://instance.com
I am behind free cloudflare with two dns data:
- A file instance.com server ip deal with
- Cname file www instance.com
On server degree, there’s nginx so .htaccess will not work for me.
At server degree, there’s ssl certificates in place. Additionally I’ve gone by way of this query however would not understand how to decide on prefix for url. How can these redirections be fastened, dns degree, nginx config or sthg else?