WordPress.org

Ready to get started?Download WordPress

Forums

SimpleModal Login
Change login redirect to profile.php (2 posts)

  1. darioj
    Member
    Posted 1 year ago #

    Hi,

    would you please change the admin url redirect when you log in, from wp-admin/ to wp-admin/profile.php.

    This will let us avoid showing some plugin dashboard widgets that should not be seen...

    It's a small change, around line 361


    <p class="submit">
    <input type="submit" name="wp-submit" value="%s" tabindex="100" />
    <input type="button" class="simplemodal-close" value="%s" tabindex="101" />
    <input type="hidden" name="testcookie" value="1" />
    <input type="hidden" value="%sprofile.php" name="redirect_to">
    </p>
    <p class="nav">',
    __('Remember Me', 'simplemodal-login'),
    __('Log In', 'simplemodal-login'),
    __('Cancel', 'simplemodal-login'),
    get_admin_url()
    );

    Cheers
    Dario

    http://wordpress.org/extend/plugins/simplemodal-login/

  2. pankaj.bbs@gmail.com
    Member
    Posted 1 year ago #

    use My Settings plugin to handle your redirects

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.