Google Page Insights: Avoid multiple page redirects

139 Views Asked by At

When I am checking this page http://balrajsingh.in/blog/nar-aur-narayan in Google Page Insights. I found that there are a lot of reds. One of those is:

Avoid multiple redirects

But I have not created any redirects except a CNAME for www. to go to https://balrajsingh.in. I have created this blog in wordpress.

How can I resolve this?

enter image description here

1

There are 1 best solutions below

1
On
RewriteEngine on
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$
RewriteRule ^https://www.%1%{REQUEST_URI} [NE,L,R=301]

use this