I receive this error for the redirection string on GTMetrix when I visit my website.
The chain is as follows:
http: // https: // https: // www.
I'm using this plugin for HTTPS
In the plugin, I configured the address to have nothing before the domain name. No http, https, or www.
I use CloudFlare flexible SSL
In addition to my cloudflare settings, I have a cname record for "www" that points to my domain. An A record for my domain name that points to the IP address of my dedicated server.
I have a single page rule for http://domain.com/* which is set to "Always use HTTPS"
In the Crypto tab, I have enabled "Always use HTTPS".
I have a GTMetrix score of 100% when I enter "www" before the domain. This "Avoid landing page redirects" error occurs only when you put http: // at the beginning. This reduces my points by 10% on PageSpeed, as well as by 11% YSlow Score, which makes all the difference if you have the latency of this redirection chain.
My & # 39; WP_HOME & # 39; and & # 39; WP_SITEURL & # 39; are set to & # 39; https: // www & # 39 ;.
Indeed, when I try to configure something else, it will not allow me to access my website. I'm trying to remove the www from both, or even one of them, no matter what I try, I will end up having my website inaccessible.
My .htaccess is not changed, it is the one you find here.
I've tried to disable plugins, see if something is a direct cause, but nothing has been done. Every source that I find related to this really seems to be able to solve my problem .. but I try a lot just to not have luck.
I'm sure it's a simple mistake, an error on my part that I forget.
Due to my non-disclosure agreement for this project, I can not share the GTMetrix scans or the URL for additional inspection. Please forgive me, I hope it will not cause any problems trying to resolve the redirect chain.
Thank you for taking the time to read, if you could help me in any way, it would be very appreciated. If additional information is needed, please let me know!