I have created a page which allows us to track where a visitor came from and then redirect to the original URL.
An example of what I have when you visit domain.com/pa