I'm taking over hosting of domain that simply redirects to its online booking page of a third party provider.
Because the landing page is http://example.com/generic/booking.asp I'd like to know how to find a way to trace the URL of the http redirect.
I don't have access to the existing sites .htaccess
Is this done server side and the only thing the client sees is the new address to go to?
Best Answer
Simply use
wget <url>
and see the output. For example if you use
wget students.iiit.ac.in/~sysadmin/
you will see output
As you can see the in Location: header the page redirects to web.iiit.ac.in/~sysadmin. After this also check contents of index.html. If they content HTTP META refresh tag like
Then the web.iiit.ac.in/~sysadmin page will redirect to research.iiit.ac.in/~saurabh.barjatiya.
These are the two most common ways of redirecting used by people. The website you are interested in most probably uses one of the above two methods or combination of both.