Let the base URL parse the relative paths, and add a slash to the end of sitemapsPath to make sure it will not be ignored.
This fixes sitemap URLs ignoring sitemapsPath var ex: http://example.com/sitemap.xml instead of http://example.com/sitemapsPath/sitemap.xml
Let the base URL parse the relative paths, and add a slash to the end of sitemapsPath to make sure it will not be ignored. This fixes sitemap URLs ignoring sitemapsPath var ex:
http://example.com/sitemap.xml
instead ofhttp://example.com/sitemapsPath/sitemap.xml