How do I get WordPress URL rewrites into Sitemap?
Consider the two following custom post types: Museums Bakeries With one shared taxonomy: Region I’m using rewrite rules to improve the URL structure, so I can serve pages to visitors such as: https://myurl.com/museums/london (all museums in London) https://myurl.com/bakeries/birmingham (all bakeries in Birmingham) https://myurl.com/bakeries/london/aok_kitchen (a specific bakery in London) Here are the rewrite rules: function my_url_rewrite_rule() … Read more