Supports anchor (#) in url rewriting