Scenario:
I have a link that is
example/directory/go.php
I am 301 redirecting that link to
example/go.php
I use a session variable to track the path of the user. Without putting any variables in the url, is there a way I can still track in the session that the user went to
example/directory/go.php
or rather intended to go there but obviously was 301'd to
example/go.php?
right now when I var_dump my session variable, it always shows the last page they visited as
example/go.php.
which I guess make sense since it is being redirected with mod_rewrite, but I am just trying to see if there is anyway I could still see the redirected link in my session variable or through some other means.