How to Reset Password from MODX Admin Panel: A Full Guide

CMS Modx has 2 main options: 

  • Modx Evolution Version 1
  • Modx Revo Version 2


You can check the name of the database the website works with as well as the prefix of the tables in the site configuration file. 

If you are looking for Modx Evolution 1, use the following site directory

./manager/includes/config.inc.php 


/var/www/www-root/data/www/testing.ru/manager/includes/config.inc.php


As for Modx Revo 2, you need to use the following way from the site directory 

./core/config/config.inc.php


/var/www/www-root/data/www/testing.ru/core/config/config.inc.php


You need to open the file with the help of the File Manager and look for the lines mentioned below: 

$dbase = 'frnx_db';



$table_prefix = 'modx_';


The values in these lines mean the name of the database which the site uses, frnx_db, and the modx_ base table prefix.

After that, you need to get into the database itself, by using phpMyAdmin in the MySQL section.

Look for the required database in the list and open it.

Modx Evolution 1

In front of us there is a database the site works with. We need to find the table with our site users.  It is called modx_manager_users.

You need to find a line with your login and open it for editing by clicking the button “Change” in the table modx_manager_users that contains all the necessary information about registered website users.


To change the password, you need to find the line with the name “password”.


  • In the field Value, you need to delete all symbols and enter the password you want. 
  • In the field Function, you need to choose MD5 from the list.



Click the button “Forward” to save changes.

Modx Revo 2

In front of us, there is a table that our site works with. We need to find a table with website users. Its name is modx_users.


In the table, modx_users contains all the information about registered website users. You need to find the line with your login and open it for editing by clicking the button “Change”.

If you want to change the password, find the line with the name “password”. 


  • In the field “Value”, you need to delete all current symbols and enter your password. 
  • In the field “Function”, you need to choose MD5.



To save changes, you need to click the button “Forward”.



Blog