• Resolved jmonroe

    (@jmonroe)


    I want users to get the wp-signup.php page as the home page. Right now, I only get redirected to it when I log out of the dashboard.

    I have tried using plugins such as members-only, peter’s login redirect, etc but no luck. When someone goes to https://www.mysite.com, they get the regular homepage which is set to a static page I created and titled Home.

    I tried modifying the htaccess file and removed all the rewrite rules and inserted the following:

    RewriteRule ^wp-signup\.php(.*)$ wp-content/themes/default/wp-signup.php$1

    That didn’t work either. Any suggestions is greatly appreciated. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I offer a cumbersome solution with no edits to htaccess. Any static page can become your main site’s home page. So why not create a signup page template? I offer this:

    1. create a signup.php template page in your main blogs theme folder.
    2. harvest code from the actual wp-signup.php and paste it into the template signup.php (easier said than done, you’ll need to tweak here a bit)
    3. create a page in your main blog called “signup” and apply the newly created signup template to it.
    4. Change your site Reading setting to serve the signup page as the home page.
    5. add a mu-plugin to redirect the signup location from wp-signup.php to the new address

    Thread Starter jmonroe

    (@jmonroe)

    David…Thanks for the input. I already have copied the wp-signup.php file into my themes director as well as created a signin page before posting my original post.

    The problem I am having is that I get a blank white screen once doing as you said. That is why I posted about using htaccess to do the redirect.

    I apparently do not know enough about the coding of WP to make the signin template solution work.

    Use https://pastebin.com to share what you have so far in your new template page and perhaps we can help troubleshoot that with you.

    Thread Starter jmonroe

    (@jmonroe)

    https://pastebin.com/uG2XXPp2 Here you go David. I am sure it’s a mess.

    Try this: https://pastebin.com/xyW0xfK2

    Fix up the paths (write in your actual paths) to wp-load.php and wp-blog-header.php near the top and you should be closer to getting this to work.

    Thread Starter jmonroe

    (@jmonroe)

    That did work even though I didn’t use a mu-plugin. I guess what I need to do now is customize the sign in page because I want it to look like a full blown image background with the login and register link on it. Kind of like on tumblr or facebook etc.

    I am using the plugin Branded login screen plugin which does exactly what I want when logging out of the site…and with WordPress Access Control plugin set to Make Blog Members only, it gives me the wp-login.php page exactly like I want but when I click on the register button, because the blog is set to members only, it just refreshes the screen and shows the same wp-signup.php page disallowing anyone to register.

    Thread Starter jmonroe

    (@jmonroe)

    Nevermind…I figured out another way to do it and it works great. Thanks for the help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need Homepage to Redirect to wp-signup.php’ is closed to new replies.