WordPress.org

Ready to get started?Download WordPress

Forums

Better WordPress Google XML Sitemaps (with sitemapindex, multi-site and Google News sitemap support)
[resolved] [Plugin: Better WordPress Google XML Sitemaps (with sitemapindex, multi-site and Google News sitemap (4 posts)

  1. handig
    Member
    Posted 2 years ago #

    Hi,
    I get on Google Webmaster tools the following error for site.xml:
    URL not allowed (This url is not allowed for a Sitemap at this location.)

    I guess it has something to do with that the site is on a multisite.

    Just an example (websitenames are not real).
    My multisite has a name like http://www.multisite.com with subdomain installation and I use domainmapping tool.

    So examplesite.multisite.com is mapped to http://www.examplesite.com.

    In Google Webmaster tools I added the site http://www.examplesite.com but this gives the URL not allowed error because the sitemap uses url http://examplesite.mymultisite.org/ instead of http://www.examplesite.com.

    My questions are:
    1. Is this a problem?
    2. What can I do so the mapped domainnames are used instead of the subdomainnames?

    http://wordpress.org/extend/plugins/bwp-google-xml-sitemaps/

  2. Khang Minh
    Member
    Plugin Author

    Posted 2 years ago #

  3. handig
    Member
    Posted 2 years ago #

    Hi,
    I tried it out and the workaround works, but unfortunately I then have to manually edit each site via network dashboard > Sites> Settings tab > "home" field.

    Too bad the plugin doesn't do it itself like Yoast WordPress SEO does.

    I like the light approach of the BWP Sitemaps plugin but don't like the extra work in the workaround for this issue.

    Yoast SEO seems a bit heavy (more to customize for other SEO settings) but is the sitemaps get the right domainnames without extra work.

    Have to think about it. Or does someone knows a better solution?

  4. handig
    Member
    Posted 2 years ago #

    Hi,
    Think I found it. The WordPress MU Domain Mapping wasn't Network activated anymore. I upgraded it and everything seemed to work allright, but somehow the plugin was active, but not network activated. After I network activated it, the BWP Sitemaps plugin gave the correct domain names.

Topic Closed

This topic has been closed to new replies.