Change login redirect to profile.php
-
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
- The topic ‘Change login redirect to profile.php’ is closed to new replies.