Just enabled top domains support for individual Wordpress Multiuser blogs. By default WPMU seemed not be able to do that through it’s management interface, some direct database level hack will be required. I found a complete and workable solution here. I copied the key parts from a post inside for my reference:

1. edit the Domain server for the domainname you are interested in and add a CNAME record for something like blog.domainname.com which points to your WPMU installation.
eg. I added the CNAME blog.clearskys.net to the clearskys.net DNS settings and set it to point to cafespain.com

2. Create a blog in your WPMU installation - it doesn’t matter what you call it for now - use the existing admin system to create it.

3. Add a record in wp_site with the the domain of the new blog. eg. in this case clearskys.net and set the path to /

4. Duplicate the wp_sitemeta entries for your new site (insert into wp_sitemeta (site_id, meta_key, meta_value) SELECT x, meta_key, meta_value FROM wp_sitemeta WHERE site_id = 1 (change x to the id of the new site record created at step 3.

5. Modify the record for the blog you created in wp_blogs and change the domain to the CNAME you created in step 1 (in this case blog.clearskys.net) and change the site_id to the id of the site record in step 3.

6. Modify all the records in wp_xx_options (where xx is the record number of your blog in step 5) that have the domain path, so that it is the same as that set in step 5 (blog.clearskys.net).

7. Wait a bit for the DNS changes to propagate and access the website at blog.clearskys.net, voila one wordpress blog, with it’s own domain running off an installation of WPMU at a different one.

It should only take a short step to have a www.domainname.com to work just as easily.

Step 3 is important for the correct display of the blog.

Step 5 is important for login to the admin interface. if siteid incorrect, it will not able to login.

Step 4 will affect the “presentation” tab in your site admin. incorrect setting will cause that page blank;

Step 6 can be modified from “Site Admin -> blog -> your blog item-> edit”, use this web interface life will much easier.

Popularity: 5% [?]



Leave a Comment

Close
E-mail It
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.