Domain Mapping

  • Unknown's avatar

    Can someone explain me how it works? Is domain mapping just a pointer to wordpress or should I have it hosted and setup somewhere else? I cannot find an answer.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
  • Unknown's avatar

    sorry lol I thought domain mapping is a pointer to another wp site or multisite on another http:// address?

  • Unknown's avatar

    Your domain mapping plugin should be utilised and activated only on a network site therefore multisite only…
    I think it tells you to not be silly if you activate it on a networked multisite sub site.
    I have it activated on my server and only sunrise php controls it… so you must have it in your wp/contents folder for it to work correctly… not the folder it tells you in the help files.

    Sunrise php must also reside as a call from your config php
    Ie
    /* Multisite */
    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘cng-seo-sem-uk-web-sites-master.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    define( ‘SUNRISE’, ‘on’ );
    require_once(ABSPATH . ‘wp-settings.php’);
    define(‘WP_DEBUG’, true);
    It must exist before define debug true, it it exists after it throws errors.

  • Unknown's avatar

    sorry lol I thought domain mapping is a pointer to another wp site or multisite on another http:// address?

    I think if you look carefully at it it is a way of mapping two databases on two different domains.

  • Unknown's avatar
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'cng-seo-sem-uk-web-sites-master.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]
  • Unknown's avatar

    These are network min requirements as described on word-press Install to your multisite.
    config,php and .htaccess file
    install the domain mapping plugin, go to admin and see what happens…..

    Let me know because I have never dared to pay with it.

  • Unknown's avatar

    What in hell are you gibbering about? Honestly, if you don’t know what you’re talking about (and you don’t) you should simply STFU as a courtesy to all involved.

    Bloggers cannot access php at WordPress.com. Bloggers cannot use plugins at WordPress.com.

  • Unknown's avatar

    Everyone, I just asked about little explanation, nothing more.

    @timethief: Thank you for the only normal answer. I saw that link before, it does not have an answer to my question, but I think I figured it out. Thank you very much for your help.

    @raincoaster: I hope you are not talking to me.
    @cngseo: this was not the question that I asked.

    Thank you.

  • Unknown's avatar

    @onlize
    You’re welcome. You can choose to have WordPress.com free host your blog on a custom domain, or you can choose to hire a web host and move your content into a WordPress.org install.

  • The topic ‘Domain Mapping’ is closed to new replies.