Wp login php action lostpassword

New Page

Support » Plugin: Ultimate Member – User profile, user registration, login and membership plugin » Login form – Lost password link goes to wordpress login

Login form – lost password link goes to wordpress login

  • Run 9c0173c823a79fc74e27194373b071b8happy

    (@runhap)

    1 year, 8 months ago

    Hi

    I have problems with the lost password on the login form. When I (deliberately) put in the wrong password, a red error box pops up with the following:

    “Error: The password you entered for the email address [my email address] is incorrect. Lost password?

    That’s great – however, when I click on the “lost your password” link, it links to the wordpress admin lost password page:

    http://www.mywebsiteurl/wp-login.php?action=lostpassword

    so its redirecting to wp-login rather than lost password page in UM – my password reset page exists: http://www.ultractiveruncoaching.co.uk/password-reset/ but the link to error does not link to this page.

    Can anyone help?

    Thanks

Showing 6 answers – 1 to 6 (of 6 total)

  • b1c2687d13408bd02776102881a5e8c5Champsupertramp plugin contributor

    (@champsupertramp)

    1 year, 8 months ago

    Hi @runhap

    Have you checked if the UM pages are correctly assigned in the UM settings?

    Please go to WP Admin > Ultimate Member > Settings > General > Pages.

    Cheers,

    Starting the 9c0173c823a79fc74e27194373b071b8thread

    (@runhap)

    1 year, 8 months ago

    Hello

    Thanks for the quick response yes all pages are correctly assigned

    The password reset page says “password reset” and this has not been changed.

    Not sure you can see this image: https://i.imgur.com/EDHIQIM.png

    and this is the bit with the link

    View post on imgur.com

    Thank you.

    • This reply was modified 1 year, 8 months ago by 9c0173c823a79fc74e27194373b071b8runhap. Reason: changed image as was showing my email address

    Contributor plugin b1c2687d13408bd02776102881a5e8c5champsupertramp

    (@champsupertramp)

    1 year, 8 months ago

    Hi,

    Can you do a conflict test and see if the issue goes away? This doc explains how to do a conflict test if you are not sure: How to do a plugin/theme conflict test?

    Regards,

    Thread Starter 9c0173c823a79fc74e27194373b071b8runhap

    (@runhap)

    1 year, 8 months ago

    thank you I have done this using the 2020 theme all other plugins are deactivated and the link still links to wp-login? action=lost password rather than the password page in UM

    View post on imgur.com

    Contributor plugin b1c2687d13408bd02776102881a5e8c5champsupertramp

    (@champsupertramp)

    1 year, 8 months ago

    Hi @runhap

    Please try adding this code snippet to change the Lost Password URL:

    add_filter(‘lostpassword_url’, ‘um_012721_lostpassword_url’, 10); function um_012721_lostpassword_url($url) { if(! function_exists(“um_get_core_page”)) return $url; return um_get_core_page(“password-reset”); }

    You can use this plugin to run code snippets: https://wordpress.org/plugins/code-snippets/

    Cheers,

    Starting the 9c0173c823a79fc74e27194373b071b8thread

    (@runhap)

    il y a 1 an, 8 mois

    C’est totalement génial, merci, tout a bien fonctionné avec le plugin d’extrait de code également et il pointe maintenant vers /password-reset/

    J’apprécie vraiment vos réponses rapides et utiles.

    Merci et top plugin.

Affichage de 6 réponses – 1 à 6 (sur 6 au total)

  • Le sujet ‘Formulaire de connexion : le lien du mot de passe perdu va vers la connexion wordpress’ est fermé et n’autorise plus de réponses.

El enlace de contraseña perdida no funciona: dirige a /lost-password

Contents

  1. WordPress Default Lost Password Feature
  2. Potential Reason and Solution

lost wordpress password link

Los miembros que pierden su contraseña o necesitan restablecer una contraseña por cualquier motivo pueden ser comunes para los sitios de membresía. Con tantos miembros iniciando sesión , algunos miembros olvidarán su contraseña de vez en cuando. Nos sucede a todos en algún momento, por lo que un proceso de restablecimiento de contraseña sin problemas siempre es ideal. Pero, ¿y si el enlace de contraseña perdida de WordPress deja de funcionar correctamente?

WishList Member y WordPress usan la misma funcionalidad para manejar contraseñas perdidas u olvidadas. Veamos cómo evaluar y resolver un enlace de contraseña perdido que no parece cooperar.

Función de contraseña perdida predeterminada de WordPress

La página predeterminada de Contraseña perdida funciona con WordPress y agrega lo siguiente a la URL de la página de inicio de sesión de WordPress del sitio:

?acción=contraseña perdida

De modo que WordPress maneja la funcionalidad de contraseña perdida.

Por ejemplo, el enlace “Perdió su contraseña” en https://wlmtest.com/wp-login.php lo dirigiría a la siguiente URL:

https://wlmtest.com/wp-login.php?action=lostpassword

Lost WordPress Password

La parte /wp-login.php?action=lostpassword de la URL se basa en la funcionalidad de WordPress para restablecer una contraseña perdida/olvidada.

Si ve otra URL para la página de contraseña perdida, es probable que otro complemento esté alterando esa funcionalidad. Recomendamos verificar si tiene complementos de inicio de sesión o complementos que puedan afectar el inicio de sesión instalado en su sitio.

You can hover a mouse over the Lost your password link on the /wp-login.php page to see where the link directs.

Lost WordPress Password

Note: You have the option to customize the look of the default WordPress Login page so that it better matches your site. This can be done using the WordPress Login Page Styling option in WishList Member.

Potential Reason and Solution

One potential reason for this issue can sometimes be related to running WooCommerce on the site and its setting for lost password. This is related to how WooCommerce can take over the page for the Lost Password.

In the example screenshot below, the page is on top of the WooCommerce “my account” page which might be set as protected on the site. (The page might be named something else depending on the site).

Tenga en cuenta: mi cuenta y contraseña perdida son valores predeterminados establecidos por WooCommerce, pero se pueden cambiar en la configuración de WooCommerce.

Captura de pantalla de ejemplo: (en este ejemplo, se usan “mi cuenta” y “perdido”)

lost-password-04

Una posible solución es:

  • Desproteger la página de mi cuenta.
  • No permita que WooCommerce maneje la página de contraseña perdida.

Una cosa a tener en cuenta es que /lost (o contraseña perdida o lo que sea que se le cambie el nombre) no es una página real, por lo que no puede ser desprotegida por WishList Member. Es una “página virtual” creada por WooCommerce.

Si la URL “Perdió su contraseña” termina en contraseña perdida (o algo similar), es probable que sea impulsado por WooCommerce.

So, if you are using WooCommerce, you can check if this is the case and use the default WordPress Lost Password feature instead.

You can do this in the WooCommerce > Settings > Advanced > Account Endpoints section.

Lost WordPress Password

picture-16

You can scroll down to the bottom of the WooCommerce > Settings > Advanced > Account Endpoints section and remove the “lost password” (or whatever it displays) from the Lost Password field and click the button Save Changes. This will allow WordPress to manage the latest password functionality for your site members.

picture-17

You can now assess and fix what might be preventing the Lost Password page from working as expected.

Tagged: lost password

Did you find this article useful

Otherwise

Related Articles

  • Create a Membership Sales Page for Paid Users
  • Create a registration page for users for FREE
  • Return to previous page or post content – Revisions
  • Create membership content
  • Member Login Options
  • Create Member Dashboard Page – After Login


Video Wp login php action lostpassword

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…