@pleb You'll need to incorporate JavaScript to read the hash portion of the URL. That information is not sent to PHP. Here is some more information, http://stackoverflow.com/questions/940905/can-php-read-the-hash-portion-of-the-url