Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] include non-wordpress pages in sitemap (5 posts)

  1. rolandinsh
    Posted 5 years ago #

    This more like feature request.
    Since blog is installed in root of domain, would be nice, if in plugin would be place where to add non-WordPress sites.
    Otherwise now they all are dropped out, because of sitemap_index.xml which (at least) I used for such pages.

    To simplify: just one input text field, where to add new sitemap of such links.
    Example: http://rolandinsh.lv/sitemap_projects.xml


  2. Joost de Valk
    Plugin Author

    Posted 5 years ago #

    There's an API for the XML Sitemap code that will allow you to do that, will create an article about it.

  3. rolandinsh
    Posted 5 years ago #

    sweet! Will wait, no time to inspect code :)

  4. rolandinsh
    Posted 5 years ago #

    still waiting for article ... :)

  5. rolandinsh
    Posted 5 years ago #

    found it!
    apply_filters( 'wpseo_sitemap_index', '' );

    writing up addong for this plugin :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic