Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Finding the login page from database?

Alright! I understand that there is a custom wordpress login url. Also you need to login to a user’s profile. If that’s the case, I suggest a simple hack(If you legally have rights to access/modify the database). Try this:

  1. Go to cpanel and login to phpmyadmin and open the database for your website/blog.
  2. Find ‘wp_options’ table and search for a record ‘active_plugins’. Now remove everything in the value to deactivate all plugins(Some plugin may have changed you login url, So this step.)
  3. Then go to ‘wp_users’ table and you’ll find all the user details here. You cannot change password as it is encrypted. So change the user email to a working email. Save the record.
  4. Now go to the default wordpress login url(http//www.yourdomain/wp-admin). Press ‘Lost password’ and Enter the email you’ve entered for the user. You will get a confirmation email. Change the password. Done!

Reply if it worked!

Related Posts:

  1. Login in WordPress using external database data
  2. How do I get WordPress login to ignore the password input if a particular username is used?
  3. Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
  4. Two websites one database, administrator not working on second website
  5. Finding the original login information in the database
  6. Database Table for customer user
  7. Permit Login if table row exists
  8. Auto login subdomain from main domain on single sites with different DB
  9. Logins from WP users table use on another page
  10. Is it possible to rebuild the website while not accesseing the original database?
  11. Recovering the table wp_usermeta from users
  12. Unable to login to a https website via the app after changing from http
  13. How to protect my credentials on my clients website
  14. What is the difference between an ORM and an ODM?
  15. Rename a table in MySQL
  16. How should I tackle –secure-file-priv in MySQL?
  17. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  18. Keeping WP database synced across multiple developers using git
  19. Checking if Database Table exists
  20. Staging sites, how do you manage synchronising updates in the DB?
  21. How to get the post publish date outside the loop?
  22. How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
  23. Using transients in conjunction with memcached
  24. How to define composite keys with dbDelta()
  25. Is it possible to define two databases for one installation?
  26. Has parent field in the table wp_term_taxonomy has term_id or term_taxonomy_id
  27. Forcing nickname as display_name in custom edit profile template
  28. Connect forms in WP to external database
  29. Hook into $wpdb
  30. Syncing local content with development / staging sites
  31. Export WP database for import using WP-CLI on Vagrant Box
  32. How to get site URL if database is disconnected?
  33. Is it wise to delete post revisions and autosaves from database?
  34. Improve or optimize a very slow query
  35. What is the advantage of separating wp_users and wp_usermeta table?
  36. Showing content from another wordpress installation database in the page template loop?
  37. Multiple WP install with same users database
  38. Dynamic data in `wp_register_script` needed
  39. “MySQL server has gone away” since update to 3.8
  40. WordPress page title repeated in SOME pages
  41. Why is $wpdb->get_results failing on certain tables but not others (which have data)?
  42. Using two different DB users on one WP install
  43. Usage of Direct Database Call Without Caching Error
  44. Is $wpdb->prepare escaping to much? How to use it properly?
  45. wp_options table has duplicate rows and primary key / autoincrement has been removed
  46. What is the purpose of storing `siteurl` in database?
  47. How to log database changes during an upgrade?
  48. Using same database for main and subdomain
  49. What is stored in the webserver? (Separated Database)
  50. Remove database entries where post_date > expiration date
  51. Installation with sql server express edition
  52. Emojis getting converted to “?”
  53. Building a Scalable Resiliant WP Setup
  54. Single database for multiple instances
  55. Get all tags not just first 10 with wp api 2.0
  56. Should non-WordPress data get its own DB?
  57. Search and replace special characters (å,ä,ö) for image attachments only in database
  58. Accidentally deleted active_plugins portion of the wp_options DB table
  59. Automate dir and DB stack creation with WP-CLI
  60. Moving WP from local server to live, error establishing a db connection
  61. delete post meta from db, even if does not exist?
  62. In what part of the WordPress core does the users table and usermeta table get joined?
  63. Is there a way to see history of WordPress database changes?
  64. WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
  65. Where does the actual data stored by add_post_meta
  66. Output custom content not from the posts table?
  67. Exporting table to csv works in the admin but exports HTML data when used on the front end
  68. wp search-replace (not executing)
  69. Reducing Database Query Time
  70. How can I get my wordpress password from an SQL file?
  71. How to have an external DB read and get data from my wordpress database
  72. Import users from old WP site to new one
  73. Create table from array with prepare
  74. Migrate database between 2 different wordpress version
  75. Is there an atomic way to update_option in WordPress (to ensure data integrity)?
  76. What does wp_term_taxonomy.parent reference?
  77. How to get nav_menu_item_id and slug from wp database
  78. Is there a way to execute a php script outside WordPress?
  79. How can I restrict php mail() to only send me one email after a db error
  80. How to delete post comments from the database via SQL statement?
  81. Why does changing Database Table Prefixes result in loss of content?
  82. wp_option table error while importing
  83. What is wrong here? Issue with post_id and meta_value
  84. Deleting empty meta key values
  85. WP 5.5, child themes, customizer and a weird cache issue
  86. Best way to store 1 billion+ posts?
  87. What’s the easiest way to connect external database and display data on wordpress?
  88. Character encoding issue – black diamond question marks on imported post excerpts
  89. Reinstall wordpress/mySQL caused database problem
  90. How to have WP Search widget index dynamically generated content?
  91. Preventing concurrent update of data
  92. Creating Tables in WordPress Database
  93. Calling update_user_meta inside of another function doesn’t work
  94. $wpdb->prepare returns empty array
  95. Prevent creation of unused database tables?
  96. How to store a plain password in WordPress database in another field
  97. wp-config was suddenly updated
  98. Order of search results based off of a backend custom field and also in alpha order
  99. How to find fresh (last modified) and sql backup?
  100. SEO impact: WP+Next.js hybrid [closed]
Categories Database Tags database, login
wpdb query on custom table not working [closed]
How to use prepare to query with variables

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress