Home › Forums › Plugin Support › Lost Password Redirect
Tagged: Lost Password redirect
- This topic has 8 replies, 4 voices, and was last updated 11 years, 1 month ago by gzip.
-
AuthorPosts
-
August 26, 2013 at 9:53 pm #4124August 27, 2013 at 1:33 am #4131bisraelMember
I know know if this is going to help you or not but the the page 2394 (above) was created by your function named getExecutionPage.
August 27, 2013 at 9:06 pm #4134bisraelMemberI’ve resolved the issue by commenting out your function named ‘getExecutionPage’ in the module user-meta\models\pro\umSupportProModel.php
The ‘Lost Password’ and ‘Logout’ href’s no longer contain a reference to the page constructed by the above function.
August 28, 2013 at 2:41 am #4137SupportMemberYou can also trigger filter hook to replace lost password url without hacking plugin source code. To do that, add following code to your functions.php
add_filter('lostpassword_url','lostpassword_url_default', 50, 2); function lostpassword_url_default(){ $args = array( 'action' => 'lostpassword' ); return add_query_arg( $args, network_site_url('wp-login.php', 'login') ); }
Thanks.
September 5, 2013 at 5:42 pm #4204vincentlMemberHello,
I have the same issue, but I noticed it is doing that for admin role, not for subscriber role, (haven’t tested with other user roles).I have added the code to the functions.php , without success.
I guess it is the functions.php in my theme folder, don’t know about any other one.
What is wrong? why is it set up that way by default also? it doesn’t make sense to me.
I want to logout, i didn’t lose my password and don’t request it to be reset.
Could you explain why it is like that? and offer me an easy solution to this.
Thanks
VincentSeptember 5, 2013 at 6:06 pm #4205bisraelMemberI did try the “add_filter” solution you offered but found it did not work.
My solution (commenting out the getExecutionPage function) does appear to work.
October 15, 2013 at 7:52 am #4395gzipMemberI’m seeing this too — when I log out I’m directed to a Lost password Page. I would expect to be directed either to the page I was on when I logged out, or to a “log in” page. I’ll try the fixes above, but find this to be a nuisance.
Please let me know if you fix it in a future version — Thanks.
October 15, 2013 at 8:23 am #4396gzipMemberNo luck with the functions.php code here either. It is happening with the pro version I have installed on an external server, but not in my development environment (MAMP) with pretty much the same code, theme, etc… except I’m running the free version of User Meta there.
hackity hack hack..
October 15, 2013 at 8:43 am #4397gzipMemberI solved this by going into Settings and selecting a Login page. Now the logout redirect takes me to Login.
Whatever you do – don’t check the box “Disable default login url (http://etcetc.net/login/)”. Neither wp-admin nor login urls will work because of a mess of redirects.
-
AuthorPosts
- You must be logged in to reply to this topic.