Update HandleURL.php

Now sub-domain friendly.