Support » Fixing WordPress » Redirect login failure to another page

Viewing 3 replies - 1 through 3 (of 3 total)
  • To clarify, here is my sidebar login code:

    <form action="<?php bloginfo('url') ?>/wp-login.php" method="post">
    <div id="reg_or_login">
    	<a href="<?php bloginfo('url') ?>/register">Register</a> or Log in:
    <div id="user_prompt">
    	Username: <label for="log"><input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="13" /> </label>
    <div id="pwd_prompt">
    	Password: <label for="pwd"><input type="password" name="pwd" id="pwd" size="13" /> </label>
    	<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
    <div style="display: inline;" class="buttons">
    	<button type="submit" style="font-size: 1em; display: inline; float: none;" class="">
    		<img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/group_key.png" alt=""/>
    <div id="lost_pwd">
    	<a href="<?php bloginfo('url') ?>/lost-password">Lost Password?</a>
    <div class="breakfree"></div>

    Here are the templates I’m using for login/register/lost password:

    I have the same question.
    Since my site is “members only”, people without registration can not break the circle and keep going back to the site adress and therefor automatically to the login form again.
    Is there any form to change the home or site adress to a contact page or other within or ouside the blog?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect login failure to another page’ is closed to new replies.