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!


9 Comments

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

James Farmer (14 comments.) on January 18, 2005 at 12:43 am.

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

Pingback: incorporated subversion (1 comments.)

Donncha (1707 comments.) on January 18, 2005 at 7:51 am.

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

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

Rick on January 27, 2005 at 6:55 pm.

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

James Farmer (14 comments.) on February 14, 2005 at 6:57 am.

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

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

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

Leave Your Comment

Your email will not be published or shared. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>