[resolved] Exclude Pages or Posts from Site Map? (2 posts)

  1. rickpugh
    Posted 3 years ago #


    I have a couple of questions:

    1. Is there a simple way to exclude pages or posts from the sitemap (HTML5 and Google)? I have some pages that are "utility" for example a generic "thank you page" that I refer people back to after they have made a donation or completed a form. I don't want these pages to show up my site maps.

    2. Does SiteTree update/modify/edit my robots.txt file?

    3. I would like to know if there is a "hook" that I can use to get my sitemap to come up on any page I choose... for example, I would love for the site map to be included in my 404 error page in addition to being a stand-alone page on the site. Is there an easy way to do this?

    4. Does SiteTree automatically update/notify google or the other search engines when it is update?

    5. Does the Google Sitemap also work with Google News?

    Sorry for all the questions at once, but I just installed your plugin today and it is working great but I need to make some tweaks to get it really integrated into my site.


  2. Luigi
    Plugin Author

    Posted 3 years ago #


    first of all, thank you for your questions! A good opportunity to give a bit more info about the plugin:

    1) Yes, there is! It's one of the main features of the plugin, you only need to open the Edit Screen of a post/page and tick a checkbox in the 'SiteTree' screen options. I published a screenshot that will further help you to spot it.

    2) No, it doesn't. SiteTree does not edit any actual or "virtual" file other than the sitemap.xml one.

    3) Currently there isn't! What you are looking for is a template tag ... they will come but there is to wait: the plugin is in its early stages of development, I'm still doing a lot of refactoring and changes to its structure.

    4) This is a feature that will definitely be added to the next major version (1.4).

    5) No, it doesn't ... at least for now. The 'Google Sitemap' functionality is still in beta, I just introduced it with the latest update (1.3) and I planned to widely expand its features with the future major releases.

    If you have feedback about the plugin, I would like to hear from you in the Ideas Forum.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SiteTree
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic