https://onezeronull.com/2012/10/14/passing-current-or-last-page-full-url-as-a-part-of-url/
Passing current or last page full URL as a part of URL