Skip to Content
WordPress® All-in-One For Dummies®
book

WordPress® All-in-One For Dummies®

by Lisa Sabin-Wilson, Cory Miller, Kevin Palmer, Andrea Rennick, Michael Torbert
April 2011
Beginner to intermediate content levelBeginner to intermediate
908 pages
22h 37m
English
For Dummies
Content preview from WordPress® All-in-One For Dummies®

Installing the Domain Mapping Plugin

Before you can map the domain, you need to install the WordPress MU Domain Mapping plugin to help handle this in WordPress. The Domain Mapping plugin doesn't do any setup on the server side; it helps rename the site and takes care of any login issues.

  1. Download the plugin from http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping.
  2. Unzip the plugin on your local computer.

    Inside are two php files: domain-mapping.php and sunrise.php.

  3. Open your FTP program and navigate to your Web site's wp-content folder.

    If you need a reminder on how to do this, see Chapter 1 of this minibook.

  4. Upload the sunrise.php file directly into the /wp-content folder.
  5. Inside the /wp-content , there may be a folder called /mu-plugins . If there isn't, use your FTP program to create this folder.
  6. Upload the domain-mapping.php file into the /mu-plugins folder.

    Figure 6-6 shows how these files look on the server. From here, you need to add a line to your wp-config.php file.

    Figure 6-6: A look at the /wp-content/plugins folder that contains the sunrise.php file.

    image

  7. Download a copy of your wp-config.php file by using your FTP vprogram.
  8. Open wp-config.php on your computer with a text editor and add the following line under the define( ‘MULTISITE’, true ); line.
    define( 'SUNRISE', 'on' );
  9. Save the file and upload it to your Web site.

    The plugin is immediately available ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

WordPress® 24-Hour Trainer

WordPress® 24-Hour Trainer

George Plumley
Gaming Hacks

Gaming Hacks

Simon Carless

Publisher Resources

ISBN: 9780470877012Purchase book