WPMU Registration Page – alpha quality

Open this file in your browser, download and copy into your wp-inst/ folder as “wp-newblog.php”
Create the following entry in your root .htaccess file too (modify to suit your site):
RewriteRule ^([_0-9a-z-]+)/wp-newblog.php(.*) /wp-inst/wp-newblog.php [L]
Call it by going to http:// example.com/main/wp-newblog.php
It’s a very simplistic script, there’s no error checking, it creates a new directory before handing over control to the WordPress install.php
Give it a whirl but when you’re finished be sure to delete it or move it out of the way!


You might also like

If you like this post then please subscribe to my full RSS feed. You can also click here to subscribe by email. There are also my fabulous photos and funny videos to explore too!

9 thoughts on “WPMU Registration Page – alpha quality

  1. Pingback: wordlog.com » Finally, a registration page for WordPress MultiUser (1 comments.)

  2. James Farmer (14 comments.)

    Hiya,

    Just thought I’d say that this is fantastic, I’m not that, um, good with the code though and was wondering if you could be a bit more specific about which .htaccess file & where I should put the code, I’m getting to Weblog ID:

    /wp-inst/wp-newblog.php

    But am then getting ‘too many redirect’ problems :o (

    Sorry for the bother. Maybe a copy of the .htaccess code you use might help???

    Thanks again for a very cool app though!

    Cheers, James

    Reply
  3. Pingback: incorporated subversion (1 comments.)

  4. Donncha (1724 comments.)

    James – in the directory where “wp-inst” is you’ll find a file called “.htaccess”. Just edit that and insert the above line at line 60. Just remember to change the path to “wp-inst” to make it look like the lines above and below it in .htaccess
    Hope that helps!

    Reply
  5. Pingback: Dan Schellenberg » Blog Archive » Multi-User WordPress Coming Along Quite Nicely… (1 comments.)

  6. Rick

    Well, I have tried to figure this out on my own for a few days with no success, so to the master I come.

    I have set up WPMU with the registration code. The problem is when a user registers, it sends an email to them that tells them they can log in at:

    http://www.host.com/wpmu/wp-inst/wp-admin

    I need it to tell them they directory address, which should be something like:

    http://www.host.com/wpmu/user_directory/wp-login.php

    In the email code, the program supplies a variable called: $guessurl

    I hope someone can help.

    Reply
  7. James Farmer (14 comments.)

    Crikey, you’re not going to believe this but we’ve just figured out what my ” ‘too many redirect’ ” problems are… if you put in a folder name with capital letters… it won’t work!

    I’d love to be able to code a solution (and might have a go) but thought I’d leave it here for the professionals :)

    Cheers, James

    Reply
  8. Pingback: Sandblogs Community :: WordPress MU - Problems and challenges.2 (2 comments.)

  9. Pingback: incorporated subversion » WPMU themes & Signup Workround (1 comments.)

Leave a Reply