I followed the instructions but when I go to sign-up.php the page says it cannot be found. I think I am messing up somewhere toward the end but I am not sure as I do not know how to code
Is this what sign-up.php is supposed to look like? I have it in the edu-clean theme folder and I have TOS installed (not sure if this would make a difference.
?php
/** Sets up the WordPress Environment. */
require( ‘../../../wp-load.php’ );
RewriteEngine On
RewriteBase /
RewriteRule ^wp-signup\.php(.*)$ wp-content/themes/edu-clean/wp-signup.php$1
#uploaded files
Thank you for looking at this and trying to help. I'm sure it is something small I overlooked, but if not does someone else know another way to create a custom signup?
I followed the instructions but when I go to sign-up.php the page says it cannot be found. I think I am messing up somewhere toward the end but I am not sure as I do not know how to code
Is this what sign-up.php is supposed to look like? I have it in the edu-clean theme folder and I have TOS installed (not sure if this would make a difference.
?php
/** Sets up the WordPress Environment. */
require( ‘../../../wp-load.php’ );
RewriteEngine On
RewriteBase /
RewriteRule ^wp-signup\.php(.*)$ wp-content/themes/edu-clean/wp-signup.php$1
#uploaded files
Thank you for looking at this and trying to help. I'm sure it is something small I overlooked, but if not does someone else know another way to create a custom signup?
sorry I took so long to reply. I was just going over all the instructions very slowly in case I missed something. Then I did it again. yes, I copied wp-signup.php to wp-content/themes/edu-clean/
10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
29th May 2010 (1 year ago)
#
Is an edit to your .htaccess needed? I have done this in the past and just did the following:
1. copy wp-signup.php to your theme.
2. add the template name block at the top.
3. make file path changes to wp-load.php and wp-blog-header.php like noted above
4. go to just below where get_header is called and add $permalink = '';
if( have_posts() ) {
the_post();
$permalink = get_permalink();
}
5. go through the rest of the file and replace wp-signup.php with <?php echo $permalink; ?>
That's pretty much it. If you are in a function you need to add the global $permalink;
Sorry to drag up an old thread, but I'm having a problem with this. Everything works fine except if the user is already logged in and goes to my sign-up page to add another site to their account, when they click "create site", the confirmation page is broken. It looks like the code for the page starts from everything after <?php do_action( 'after_signup_form' ); ?> in wp-signup.php. Strangely, the site gets created ok, but that's not really the point.
Creating a site as a new user works fine (I've have both user registration and site creation enabled). Can anyone suggest which code might be causing this exact problem? The instructions I followed were masonjames' from a few posts up.
Responses (12)
Lead Developer — 28th May 2010 (1 year ago) #
The page is wp-signup.php, not sign-up.php.
Member — 28th May 2010 (1 year ago) #
typo. my bad. Ok, with that out of the way...Can you help me out with the rest of it? :)
Member — 28th May 2010 (1 year ago) #
http://www.chriswiegman.com/2010/02/using-a-custom-wp-signup-page-with-wordpress-mu/
you may need to check out the link to get what I am trying to accomplish because I have a hard time making myself clear. thanks.
Lead Developer — 28th May 2010 (1 year ago) #
And you copied the wp-singnup file to that wp-content/themes/edu-clean/ directory?
Member — 28th May 2010 (1 year ago) #
sorry I took so long to reply. I was just going over all the instructions very slowly in case I missed something. Then I did it again. yes, I copied wp-signup.php to wp-content/themes/edu-clean/
I receive this message at http://micropages.com/wp-signup.php
Sorry the post you looking for have been removed, feel free to browse our other post
Member — 28th May 2010 (1 year ago) #
This is what I have for the first 9 lines in the copied version of wp-signup.php in the edu-clean directory
and this is the error that I am getting at micropages.com/wp-signup.php :
Member — 28th May 2010 (1 year ago) #
And this is what I have in my .htaccess
I hope that gives you enough to solve this mystery.
Sales & Support Lead — 29th May 2010 (1 year ago) #
Is an edit to your .htaccess needed? I have done this in the past and just did the following:
1. copy wp-signup.php to your theme.
2. add the template name block at the top.
3. make file path changes to wp-load.php and wp-blog-header.php like noted above
4. go to just below where get_header is called and add
$permalink = '';if( have_posts() ) {
the_post();
$permalink = get_permalink();
}
5. go through the rest of the file and replace wp-signup.php with <?php echo $permalink; ?>
That's pretty much it. If you are in a function you need to add the global $permalink;
Member — 15th February 2011 (1 year ago) #
I know this is an old post, but how would I do a custom signup page with the Anti-Splog rotating signup page link enabled?
Member — 19th January 2012 (4 months ago) #
Sorry to drag up an old thread, but I'm having a problem with this. Everything works fine except if the user is already logged in and goes to my sign-up page to add another site to their account, when they click "create site", the confirmation page is broken. It looks like the code for the page starts from everything after <?php do_action( 'after_signup_form' ); ?> in wp-signup.php. Strangely, the site gets created ok, but that's not really the point.
Creating a site as a new user works fine (I've have both user registration and site creation enabled). Can anyone suggest which code might be causing this exact problem? The instructions I followed were masonjames' from a few posts up.
Member — 8th February 2012 (3 months ago) #
@masonjames. what do you mean by add the template block on top of the file?
Member — 11th February 2012 (3 months ago) #
Page templates in Wordpress have a 'template name'. The template name block would look like this:
<?php
/*
Template Name: Signup page
*/
?>
Become a member