Answer the question
In order to leave comments, you need to log in
How to find out the referral after a redirect?
One site implements a redirect to the 404.php page in case some GET parameters for the page are incorrect. How can you find out which page the user originally requested and from which he was subsequently redirected to 404.php?
$_SERVER['HTTP_REFERER'] is empty. Why?
Thank you!
Answer the question
In order to leave comments, you need to log in
redirect to 404.php page
Another option is to find out the referee? Easier.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question