S
S
Sergey Zaigraev2017-06-23 10:38:40
Search Engine Optimization
Sergey Zaigraev, 2017-06-23 10:38:40

How to find the reason for two redirects on a page?

When checking the site with the WebSite Auditor program, it issues a warning:
"The site found pages that have more than 2 redirects configured." And then these same urls are indicated in the plate.
If, for example, I follow one of them, I see the following: There are
1b8a2f0026d24e5091b080d2db42d8fe.jpg
indeed two redirects.
I can not understand where this program found such links, there are not many of them, only 8 pieces.
There is only one redirect in htaccess

RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www.) [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

There is nothing else, has anyone experienced this? And how can this be corrected? Where to dig next? I will be glad to any recommendations.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fedor, 2017-06-23
@purplesky

Well, what is not clear?
site.ru -> https://site.ru -> https://www.site.ru
Remove the redirect to www. from htaccess and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question