Fixed double slashes in url rewrite