XML Sitemap & Google News feeds
[resolved] [Plugin: XML Sitemap & Google News Sitemap Feeds] Index non-wp pages? (4 posts)

  1. arossphoto
    Posted 4 years ago #

    I've installed this, and it seems to be working fine creating a sitemap of my blog pages, which are in a subdirectory like this mysite.com/blog. However, I have several pages on my site, including the homepage, photo galleries, etc, that are not run by WordPress. Is there any way to use this to index my entire site, or will it only work with WP?


  2. RavanH
    Plugin Author

    Posted 3 years ago #

    The XML Sitemap Feed will only contain links to pages and post that are managed by WordPress.

    But if you installed WordPress in a subdirectory then my plugin will create that sitemap inside that subdirectory. That leaves for you the opportunity to create another sitemap in the root directory that contains the links to the pages outside wordpress.

    Do not forget to put references to BOTH sitemaps in your manually created robots.txt too!

  3. arossphoto
    Posted 3 years ago #

    Thanks for your reply. I was doing some research on this today and I saw some recommendations to create a sitemapindex.xml that references the separate sitemaps. I did that and then referenced the index in robots.txt. I don't know if there is any advantage or disadvantage to doing it that way or not.

  4. RavanH
    Plugin Author

    Posted 3 years ago #

    I'm not aware of any advantage or disadvantage in terms of indexation. As long as each sitemap abides by the main sitemap rules and as long as referencing in robots.txt is done correctly ;)

    Open a Google Webmasters Tools account and keep track off any reported errors in your sitemaps there to make sure all links are found and accepted.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic