S
S
Sergey Sofichev2017-02-22 12:26:36
1C-Bitrix
Sergey Sofichev, 2017-02-22 12:26:36

Is it possible to find out the reason for the redirect?

Let's say there is a website. It has different kinds of redirects inside htaccess , inside php pages, and any other possible ones. Is it possible to find out the reason for the redirect? those. what rule is responsible for a specific redirect?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
display: block, 2017-02-22
@qork

You can also substitute something noticeable for the destination, so that it is obvious that this particular rule worked. For example:

RewriteCond %{REQUEST_URI} ^.*$
RewriteRule ^.*$ https://ya.ru [R=302,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question