What is Joomla?
Joomla is a free CMS. A CMS (content management system) is a program for building websites without much code. You log in to its admin area to manage your site. Joomla keeps your password in a database. A database is where the site stores its data. The password is scrambled there, so nobody can read it.
Method 1: Use the forgot password link
- Go to
yourdomain.com/administrator. - Click Forgot your password?
- Type the email address of your admin account and click Submit.
- Open your email. Follow the link in the message.
- Enter the code, then choose a new password.
If no email arrives, check your spam folder. Your site must also be able to send email.
Method 2: Change it in phpMyAdmin
Warning: You are editing the database. Take a backup first.
- Log in to cPanel and open phpMyAdmin.
- Click your Joomla database in the left list. Find its name in
configuration.phpin your site folder if you are unsure. - Open the table ending in
_users. The start of the name can differ, such asabc12_users. - Find your admin row and click Edit.
- In the
passwordrow, choose the function MD5 in the dropdown beside it, if your version allows it. - Type your new password in the value box.
- Click Go.
- Log in with the new password and then change it again inside Joomla.
Modern Joomla stores passwords in a stronger form. The MD5 trick still works as a temporary way in. Once you log in, Joomla upgrades it. Change the password right away.
Method 3: Add a new super user
- Open phpMyAdmin and the
_userstable. - Click Insert and add a new user with a name, a username and your email.
- Use MD5 for the password again.
- Open the table
_user_usergroup_map. Insert a row with your new user id and group id8. Group 8 is Super Users. - Log in with the new user.
Tip: After you get in, use a strong password. Joomla also offers two-factor login. It adds a second check, like a code from your phone.
Quick recap
- Try Forgot your password? first.
- If that fails, edit the
_userstable in phpMyAdmin. - You can also add a new Super User.
- Back up the database before editing.
- Change the password again after you log in.