WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
How to add SitemapIndex item not hardcoding the core? (1 post)

  1. odegraciajr
    Member
    Posted 1 year ago #

    Hi, I added some custom rewrite rules to my blog any i want to add it on my sitemap. I've done it editing some core code but i don't want it to be that way because it will soon break on upgrade. Is there a way to add it programmatically? What i did was adding this line to the SitemapBuilder.

    $gsg->AddSitemap(NAMEOFSITEMAP, null, $blogUpdate);

    Thanks!

    http://wordpress.org/extend/plugins/google-sitemap-generator/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic