Support » Plugin: Google XML Sitemaps » How to update sitemap programmatically with google xml sitemap plugin?

  • designforce


    I am developing a wordpress website for a client. Client will be able to insert posts using custom designed frontend. As soon as end user will hit submit button, I insert the post contents using wp_insert_post function. I’ve completed the website but I am wondering that after inserting the post contents programmatically, google xml sitemap plugin is not adding the new posts to sitemap.xml

    Is there any hook or method to insert the new post entry into sitemap.xml file? Any help in this regard will be highly appreciated.

    Looking forward for a kind response.

    Many Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • kaarlo


    I donĀ“t know if I understand you correctly but in the FAQ you will find the following question:
    Do I have to create a sitemap.xml by myself?
    The answer says: Not anymore. Since version 4, these files are dynamically generated just like any other WordPress content.

Viewing 1 replies (of 1 total)
  • The topic ‘How to update sitemap programmatically with google xml sitemap plugin?’ is closed to new replies.