I’ve just updated my blog from a Centminmod installation to a EasyEngine one on my VPS. Everything is working, but I’d like to solve little issues to enhance my web performance.
I’ve made some testing with pages such as Pagespeed Tools and GTmetrix.com and in both cases there’s a problem with my landing page: the error shown is
“Avoid landing page redirects”
And the detailed message reads as follows:
Avoid landing page redirects for the following chain of redirected URLs.
I’ve checked my nginx config files and I’ve tried several changes, but without success.
First, my Wordpress general settings is showing my homepage as
But even if I change that, the error stays there.
My /etc/nginx/conf.d/force-ssl-javipas.com-conf contains the following:
# listen [::]:80;
server_name www.javipas.com javipas.com;
# return 301 https://$host$request_uri;
return 301 https://javipas.com$request_uri;
And my /etc/nginx/sites-available/javipas.com is this:
server_name javipas.com www.javipas.com;
# return 301 https://www.javipas.com$request_uri;
access_log /var/log/nginx/javipas.com.access.log rt_cache_redis;
index index.php index.html index.htm;
As you can see, I’ve tried to include a permanent redirection but as far as I know this doesn’t work either.
The waterfall analysis on this tests show that this redirections are adding almost 1s in my load time (2.4s total currently). It’s a real pity, and I’d like to know how to avoid those redirects. Detail on the waterfall attached in case it can give more information. Thank you!