WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Domain Mapping for blog_id = 1 (2 posts)

  1. Parham
    Member
    Posted 6 months ago #

    I see it is hard-coded to not allow mapping if blog_id is 0 or 1? Is it to block mapping for main blog/site of the network? Then shall the plugin check for BLOG_ID_CURRENT_SITE value in wp-config.php instead of hard-coded values?

    For example in our case, the blog with id = 1 is not the main one but the blog id 3 is the main site: define('BLOG_ID_CURRENT_SITE', 3); and this plugin doesn't allow mapping for the blog id 1.

    http://wordpress.org/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 6 months ago #

    Is it to block mapping for main blog/site of the network?

    Yes. Mapping a domain to the main site interferes with site lookup in some situations & that why the plugin doesn't allow you to do it.

    In this case where you have modified the way WP works, you can modify your copy of DM if you want to map domains to the original main site.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.