Getting the current URL is fairly straight forward
echo Router::url($this->here, true);
This will return the full url http://example.com/subdir
If you just want the relative path, use the following
echo $this->here;
See http://webfreelance.info/get-current-url-in-cakephp/