Viewing 3 replies - 1 through 3 (of 3 total)
  • The plugin is not currently built in a way that can hide those parameters.
    The redirect_to parameter would probably need to be required anyway as that tracks the page you were trying to access so you can be redirected there after logging in.

    Hi Ben,

    I have the same feature request
    And i don’t want to redirect user at the same url(redirect_to) just want to redirect user to home page after correct password submission.
    (I don’t want to track page which user trying to access.)

    Thanks
    John

    @john The next version will contain a ‘password_protected_login_redirect_url’ filter which will allow you to remove the ‘redirect_to’ parameter of the URL, like this:

    <?php
    
    function my_password_protected_login_redirect_url( $url ) {
    	return '';
    }
    add_filter( 'password_protected_login_redirect_url', 'my_password_protected_login_redirect_url' );
    
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to hide enormous URL when logging in?’ is closed to new replies.