nuxt-community / sitemap-module

Sitemap Module for Nuxt 2
https://sitemap.nuxtjs.org
MIT License
685 stars 129 forks source link

Using Sitemap on dynamic URL #257

Open GhaniHaa opened 1 year ago

GhaniHaa commented 1 year ago

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

Screen Shot 2022-07-20 at 11 01 13

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

Screen Shot 2022-07-20 at 11 05 55