WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
Indexing Main Site (4 posts)

  1. ihsreal
    Member
    Posted 3 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?

    Cheers

  2. webjunk
    Member
    Posted 3 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
    Member
    Posted 3 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
    Member
    Posted 3 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:
    http://code.google.com/p/sitemap-generators/

    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

About this Topic