N
N
nichvlas2016-07-09 10:30:26
HTML
nichvlas, 2016-07-09 10:30:26

How to see the site on which there is a redirect?

There is a site on which there is a redirect to another domain. Is there a way to see the site itself from which the redirect is coming?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Y
Yuri Chudnovsky, 2016-07-09
@Frankenstine

And if there is nothing there but a redirect, what will you look at?

A
Alex, 2016-07-09
@nomoneynohoney

If the redirect is made to JS, then turn off JS)..

D
Dmitry Vapelnik, 2016-07-09
@dvapelnik

curl http://127.0.0.1:8000
you will see the HTML code of the response,
you will see the response headers,
for example, Symfony redirects in this form:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="1;url=/" />

        <title>Redirecting to /</title>
    </head>
    <body>
        Redirecting to <a href="/">/</a>.
    </body>
</html>

HTTP/1.1 302 Found
Host: 127.0.0.1:8000
Connection: close
X-Powered-By: PHP/7.0.4-7ubuntu2.1
Cache-Control: no-cache
Location: /
Content-Type: text/html; charset=UTF-8
X-Debug-Token: bc419c
X-Debug-Token-Link: http://127.0.0.1:8000/_profiler/bc419c
Date: Sat, 09 Jul 2016 08:21:56 GMT

M
Maxim Alekhin, 2016-07-09
@Settler1

You can see the response code on some service, for example: mainspy.ru/answer_servera or any other.
If the response code starts with 3XX, then this is a redirect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question