Closed svbackend closed 1 year ago
Hi Dmitrii,
thank you for your effort in that library!
Unfortunately i have the same problem then mentioned above.
I would like to fix it and introduce an additional parameter for it and in case that the parameter is set -> change the path only inside the index-file
I would create & submit a pull request for that issue, if that's fine for you?
Thanks everyone for your contribution. The feature is now available using setSitemapIndexURL()
starting from version 5.0.0.
Hi, thanks for the library, works great, but I have small issue:
Even though my site base url is "site.com" and every link inside of sitemaps generated correctly but in the sitemap-index.xml links to sitemaps are broken because my "sitemap base url" is "site.com/api/sitemap"
It generates exactly what I need:
In index:
While in sitemap1.xml
So would be nice to have a option to change sitemap base url in case when sitemap located not in the root of website