Need Help! Wordpress, Robots, Permalinks

Discussion in 'Search Engine Optimization' started by logoinvent, Jan 12, 2011.

  1. #1
    Hello, we have an issue in our website and we'd like to get you help in how we can resolve this. Mods I'm not sure if this is the right section my inquiry... just move my thread if this isn't the right section.

    We have a flat site and a wordpress blog linked to the main site.
    domain.com - main site, flat site, no cms used
    domain.com/blog/ - wordpress blog

    We have 2 sitemaps,
    domain.com/sitemap.xml and domain.com/blog/sitemap.xml.

    Now, domain.com/sitemap.xml generates/have wordpress autogenerated urls like,
    domain.com/blog/?p=79, which redirects to an article on the wordpress blog. But this article has a pretty URL in the wordpress blog, domain.com/blog/article-title/.

    All articles in the main site's sitemap has a duplicate URL in the form of wordpress' auto-generated URLs. But in the blog's sitemap all have pretty URLs.

    We tried adding blocking by adding this code to our robots.txt,
    Disallow: /blog/*?
    But this didn't solve the issue.

    If this helps, the site uses all in one seo plugin and Google Sitemap Generator Plugin by Arne Brachhold.

    All we want is that our main site's sitemap will not contain the URLs wordpress has generated. It should only display the pretty URLs.

    Need you advice. Thank you in advance.
     
    logoinvent, Jan 12, 2011 IP