I have problem with dynamic URL , as u can see this is my page structure

so basically my page default is {domain}/produk and when access {domain}/produk/sitemapindex.xml it will be redirecting to dynamic page {domain}/produk/_parentId so how to it will redirecting to page sitemapindex.xml when accesing {domain}/produk/sitemapindex.xml
because my default {domain} is using a different project with I'm working on it so I using /produk as default
i just implement this code but still not working

I have problem with dynamic URL , as u can see this is my page structure

so basically my page default is
{domain}/produkand when access{domain}/produk/sitemapindex.xmlit will be redirecting to dynamic page{domain}/produk/_parentIdso how to it will redirecting to pagesitemapindex.xmlwhen accesing{domain}/produk/sitemapindex.xmlbecause my default
{domain}is using a different project with I'm working on it so I using/produkas defaulti just implement this code but still not working
