fixed url routing
support trailing slash
support / in url (the old blog used this)