Google XML Sitemaps
Indexing Main Site (4 posts)

  1. ihsreal
    Posted 5 years ago #

    How would you put the Google Sitemap Generator sitemap.xml in your main site?

    i.e. if the wordpress blog is at http://www.website.com/blog is it possible for it to reside in http://www.website.com/sitemap.xml ?

    also can it be set up to index the main site as well as the wordpress blog?


  2. webjunk
    Posted 5 years ago #

    You need a robots.txt in the root for autodiscovery to point to the sitemap like this:
    Sitemap: http://www.webjunk.com/blog/sitemap.xml

  3. ihsreal
    Posted 5 years ago #

    Thanks, but how do you get the program to index the rest of the website (the part that's not the wordpress blog)?

  4. webjunk
    Posted 5 years ago #

    The WP Plugin only indexes the WP site. You would need to use another sitemap generator. There are plenty script type and web accessible. I recommend using the Gogle generator:

    Just be sure to exclude the WP /blog directory.
    Then add another sitemap: line like I gave above into robots.txt

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google XML Sitemaps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic