<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='/css/sitemapindex.xsl'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://www.aboveandbelowplumbingservices.co.uk/pages-sitemap.xml</loc>
		<lastmod>2026-04-01</lastmod>
	</sitemap>
</sitemapindex>
    <!-- if (categories > 0)
    {
        if (!feedsFiles.Any(x => x.Name.Contains("categories-sitemap")))
        {
            Utils.GenerateSitemap("categories");
        }
        sb.AppendLine("\t<sitemap>");
        sb.AppendLine("\t\t<loc>" + Page.Protocol + "://" + Page.Host + "/categories-sitemap.xml</loc>");
        sb.AppendLine("\t\t<lastmod>" + sDayPast + "</lastmod>");
        sb.AppendLine("\t</sitemap>");
    }

    if (products > 0)
    {
        if (!feedsFiles.Any(x => x.Name.Contains("products-sitemap")))
        {
            Utils.GenerateSitemap("products");
        }
        feedsFiles = FeedFolder.GetFiles("*.xml").OrderBy(x => x.Name.Length).ThenBy(x => x.Name).ToArray();


        foreach (FileInfo prodfile in feedsFiles.Where(x => x.Name.Contains("products-sitemap")))
        {
            sb.AppendLine("\t<sitemap>");
            sb.AppendLine("\t\t<loc>" + Page.Protocol + "://" + Page.Host + "/" + prodfile.Name + "</loc>");
            sb.AppendLine("\t\t<lastmod>" + sDayPast + "</lastmod>");
            sb.AppendLine("\t</sitemap>");
        }
    }

    if (casestudies > 0)
    {
        if (!feedsFiles.Any(x => x.Name.Contains("casestudies-sitemap")))
        {
            Utils.GenerateSitemap("casestudies");
        }
        sb.AppendLine("\t<sitemap>");
        sb.AppendLine("\t\t<loc>" + Page.Protocol + "://" + Page.Host + "/casestudies-sitemap.xml</loc>");
        sb.AppendLine("\t\t<lastmod>" + sDayPast + "</lastmod>");
        sb.AppendLine("\t</sitemap>");
    }

    if (blogs > 0)
    {
        if (!feedsFiles.Any(x => x.Name.Contains("blogs-sitemap")))
        {
            Utils.GenerateSitemap("blogs");
        }
        sb.AppendLine("\t<sitemap>");
        sb.AppendLine("\t\t<loc>" + Page.Protocol + "://" + Page.Host + "/blogs-sitemap.xml</loc>");
        sb.AppendLine("\t\t<lastmod>" + sDayPast + "</lastmod>");
        sb.AppendLine("\t</sitemap>");
    } -->
