WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Google XML Sitemaps] Any way to change home page URL in sitemap? (2 posts)

  1. technabob
    Member
    Posted 4 years ago #

    I've got a home page that's at the root of my domain, while the rest of my blog is under a subdirectory ("/blog") due to a legacy setup issue with shared hosting eons ago. So i've got "/blog" 301 redirecting to the home page:

    http://technabob.com
    http://technabob.com/blog <- wordpress thinks this is home

    Is there any way to set the home page in the XML sitemap to the home page without the "/blog"? I've manually added it, but then the update time stamp doesn't occur automatically, and there's duplicate listings for the same page in the sitemap.xml - which I'm sure is bad for SEO.

    Any ideas?

    http://wordpress.org/extend/plugins/google-sitemap-generator/

  2. At Settings/General in your admin panel, make sure that you have:

    WordPress address (URL): http://technabob.com/blog

    Blog address (URL): http://technabob.com

    You shouldn't need a redirect if you have that as your setup.

Topic Closed

This topic has been closed to new replies.

About this Topic