added trailing slash to submitted url if none entered