Title: Original login php code
Last modified: December 14, 2024

---

# Original login php code

 *  Resolved [arazsalahli](https://wordpress.org/support/users/arazsalahli/)
 * (@arazsalahli)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/original-login-php-code/)
 * Hello,
 * I made some modifications to be able to redirect the login to the same page/post
   after succesful login but looks like I made some mistake because now I am getting
   the error in the login page. Could you please share the original code so that
   I can revert it back?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Foriginal-login-php-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/original-login-php-code/#post-18199197)
 * [@arazsalahli](https://wordpress.org/support/users/arazsalahli/)
 * You can download the ZIP file for your UM version from GitHub
    and update the
   link version number if you don’t have UM 2.9.1 installed.
 * [https://github.com/ultimatemember/ultimatemember/releases/tag/2.9.1](https://github.com/ultimatemember/ultimatemember/releases/tag/2.9.1)
    -  This reply was modified 1 year, 6 months ago by [missveronica](https://wordpress.org/support/users/missveronicatv/).
 *  Plugin Support [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * (@andrewshu)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/original-login-php-code/#post-18213203)
 * Hi [@arazsalahli](https://wordpress.org/support/users/arazsalahli/)
 * This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Original login php code’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/original-login-php-code/#post-18213203)
 * Status: resolved