301 query string to normal url

[finishes #31]