My Wordpress blog redirects a 301 from non-www to www. That is extremely slow and takes something like 2.5 seconds everytime. So I started investigating the matter and I just can’t find where it is configured.
In the site´s root .htaccess file I don´t see any rewrite rule,
Also, there is no page rule configured inside Cloudflare.
Can you please help me find the reason for the redirection?
Thank you
If you also enable “Always use HTTPS”, it will automatically redirect http://.mysite.com to https://.mysite.com. This only works though if you send traffic through Cloudflare (orange cloud in the DNS tab).
If you redirect this way, you can remove the 301 redirect with your host. How you do that depends on your host; it may be worth reaching out to them for assistance.
thank you @StuartMorrisAU. I´ll try this tonight at home and see if that helps me reduce the slow redirection i`m suffering from. I´ll get back with more information later.
Thank you, Stuart. That was the solution. The page rule made my site load fast, bypassing the redirect that cost so much.
But in more details, I can say that the redirect was caused by the Wordpress itself since the site URL is configured inside the blog options, which was the reason for this redirection.