Title: WordPress MU Subdomain Forwarding
Author: hazardcell
Published: <strong>March 1, 2009</strong>
Last modified: November 17, 2009

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wordpress-mu-subdomain-forwarding.svg)

# WordPress MU Subdomain Forwarding

 By [hazardcell](https://profiles.wordpress.org/hazardcell/)

[Download](https://downloads.wordpress.org/plugin/wordpress-mu-subdomain-forwarding.0.1.2.zip)

 * [Details](https://wordpress.org/plugins/wordpress-mu-subdomain-forwarding/#description)
 * [Reviews](https://wordpress.org/plugins/wordpress-mu-subdomain-forwarding/#reviews)
 *  [Installation](https://wordpress.org/plugins/wordpress-mu-subdomain-forwarding/#installation)
 * [Development](https://wordpress.org/plugins/wordpress-mu-subdomain-forwarding/#developers)

 [Support](https://wordpress.org/support/plugin/wordpress-mu-subdomain-forwarding/)

## Description

**There seem to be some issues with this plugin and WordPress MU 2.8 so please ONLY
USE IT WITH 2.7. I doubt I will be updating this plugin anytime soon. If you do 
manage to patch it and want to make it available to the public, email me and I will
include it for you**

This plugin turns a vanilla WordPress MU install into a subdomain forwarding site.
It gives each user a subdomain and allows path forwarding to an external site, a
hosted blog and/or a hosted profile. Meta tags, keywords and path forwarding to 
external sites are all supported.

Users should go to Dashboard->Subdomain to edit subdomain settings and activate/
deactivate the blog and profile. The public profile can be edited at Users->Public
Profile. The admin for the plugin is at Site Admin->Subdomain Forwarding.

Please read the FAQ and Known Issues/Limitations sections before installing the 
plugin.

### Known Issues/Limitations

As this is a very early version there are a couple of minor issues that haven’t 
been overcome yet:

 * Users with blogs who try to login from the main site will have to login twice
   before they can access their control panel. This is due to some issues with the
   cookies that I have not been able to deal with just yet.
 * The username field will be used as the subdomain. Users cannot _yet_ choose a
   custom subdomain name.
 * One user can only have one subdomain. Multiple subdomains are not supported _yet_.
 * This version will only work with one domain name. It has not been tested on sites
   that have been setup with more than one domain name.
 * This plugin works with **VHOST installs only**.
 * Users will have to sign up for a normal account before they can get a blog.
 * I’ve only tested this with clean installs so I’m not sure if it will work with
   a current install without modifying the database in some way.
 * Currently, only users who sign up after the plugin is installed will get a subdomain.
   Again, I do not reccommend installing this version on a current install as it
   could cause problems.

## Installation

**Please read the FAQ and Known Issues/Limitations sections before installing the
plugin**

 1. First, you have to ensure that you have a fully working WordPress MU VHOST install.
 2. Upload `subdomain_forwarding.php` to the `/wp-content/mu-plugins/` directory.
 3. Upload `sunrise.php` to the `/wp-content/` directory. If there already is a sunrise.
    php there, you will have to merge the files.
 4. Edit wp-config.php and uncomment the SUNRISE definition line:
     define( ‘SUNRISE’,‘
    on’ );
 5. Edit the .htaccess file in your WPMU root directory and insert the following line
    at the **bottom** of the file after any rewrite rules:
     ErrorDocument 404 /index.
    php
 6. Login as the site admin and visit Site Admin->Subdomain Forwarding and edit the
    options there.
 7. Visit Site Admin->Options and enable new registrations for **user accounts only**.
    The blog sign up will be handled by the plugin.

## FAQ

### Does this work with with both subdomain and subdirectory installs?

No it only works with VHOST (subdomain) installs. A version for subdirectories is
in the works.

### Can one user have more than one subdomain?

Not with this version (0.1). A version with support for multiple subdomains is in
the works.

### Will a blog be created for every user?

No, the script just assigns a subdomain to the user but the user can sign up for
a blog if he/she wants to.

### Will this plugin make any modifications to my database?

Yes, one database table will be created for storing the subdomain settings. The 
profile page settings will be stored with the user meta. The plugin also modifies
the blog path in the _blogs_ table if necessary. All other core WordPress MU tables
are not touched.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WordPress MU Subdomain Forwarding” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ hazardcell ](https://profiles.wordpress.org/hazardcell/)
 *   [ dotanimizers ](https://profiles.wordpress.org/dotanimizers/)

[Translate “WordPress MU Subdomain Forwarding” into your language.](https://translate.wordpress.org/projects/wp-plugins/wordpress-mu-subdomain-forwarding)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wordpress-mu-subdomain-forwarding/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wordpress-mu-subdomain-forwarding/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wordpress-mu-subdomain-forwarding/)
by [RSS](https://plugins.trac.wordpress.org/log/wordpress-mu-subdomain-forwarding/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.1.2**
 *  Last updated **17 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **2.7**
 * Tags
 * [forwarding](https://wordpress.org/plugins/tags/forwarding/)[profile](https://wordpress.org/plugins/tags/profile/)
   [subdomain](https://wordpress.org/plugins/tags/subdomain/)[wordpress MU](https://wordpress.org/plugins/tags/wordpress-mu/)
   [wpmu](https://wordpress.org/plugins/tags/wpmu/)
 *  [Advanced View](https://wordpress.org/plugins/wordpress-mu-subdomain-forwarding/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wordpress-mu-subdomain-forwarding/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wordpress-mu-subdomain-forwarding/reviews/)

## Contributors

 *   [ hazardcell ](https://profiles.wordpress.org/hazardcell/)
 *   [ dotanimizers ](https://profiles.wordpress.org/dotanimizers/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wordpress-mu-subdomain-forwarding/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3561852)