Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] In a WP Network, need the sitemap to use the primary mapped domain

  • Resolved rlgrobert

    (@rlgrobert)


    Great plugin, thank you. We are using the Domain Mapping plugin in a WordPress Subdomain Network. For example:

    Primary site: example.com
    Additional site: site.example.com
    site.example.com has “www.another-domain.com” mapped and set as the primary domain.

    Given this, http://www.another-domain.com/sitemap.xml is using site.example.com/ in all of the generated URLs.

    Is it possible to have it use the primary mapped domain in the URLs? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Bump. Has anyone seen a solution for this?

    Plugin Author Joost de Valk

    (@joostdevalk)

    The solution is to set your site url to the proper domain.

    Hi, thanks for the reply, and thank you for your great plugins. I had since found http://4visions.nl/en/wordpress-plugins/xml-sitemap-feed/ and it generates sitemaps in a Network installation using the primary domain for each without having to change the site url settings.

    I tried to look at the source code for each and determine the difference, but quickly got lost. I would love to use the WordPress SEO plugin for sitemaps as well, but could it use the same method as this other for determining the domains to use the URLs?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] In a WP Network, need the sitemap to use the primary mapped domain’ is closed to new replies.