Simple Domain Mapping Without Any Plugin in WordPress 3.0

To setup domain mapping from WordPress 3.0, you may follow the steps as below.

  1. Log into your fresh installation of WordPress 3.0.
  2. Add the line as below to your wp-config.php file.
  3. You shall be able to found Network from your WordPress tool as image below.
  4. Click on the Network link.
  5. You shall be asked for set the sub-domains or sub-directories sites to your network, select the radio button of sub-domains.
  6. Click on Install button.
  7. WordPress 3.0 shall guide you 3 step where you shall create the blogs.dir folder according to the given path, coding to insert to your wp-config.php file and coding to insert to your .htaccess file.
  8. Once you have done, relogin again.
  9. Next, you shall log into your cPanel and create the wildcard subdomain as detail below.
  10. cPanel => domains => Subdomains =>
    Subdomain: * (asterisk) and select your domain name.
    Document Root: your WordPress path.

  11. Go to the Super Admin panel and select on Sites, add the subdomain.
  12. Then select on Edit from the subdomain.
  13. Change the value of Domain, Siteurl, Home, and Fileupload Url to suit to your new domain.
  14. Edit your wp-config.php file again and change the value as below.

From (assume that you are using domain.com)

To

About the Author