redirect urls not following #! ajax convention