perch_blog_custom not working to generate sitemap

  • I'm trying to create a sitemap with perch, and using this method am able to get the pages to output at sitemap.php, however the blog posts are not. I currently have two posts both are published.


    Here is my sitemap.php


    sitemap_pages.html


    Code
    1. <url>
    2. <loc>https://hallmarkhomemortgage.com<perch:pages id="pagePath"></loc>
    3. </url>


    sitemap_blog.html


    Code
    1. <url>
    2. <loc>https://hallmarkhomemortgage.com<perch:blog id="postURL"></loc>
    3. </url>


    Here is the sitemap: https://www.hallmarkhomemortgage.com/sitemap.php.


    I'm sure I'm missing something, but am not sure what. Any help would be appreciated. Thank you.

  • drewm

    Approved the thread.