Fix rewrite url for sitemap