One last thing. Which isn't a code thing. Not sure about the user experience of this. Feels an anti-pattern to change the url after the person has clicked the link.