Update redirect.php

Eliminated caching and reversing of the url in to an ID to be found in the database.