PrestaShop Admin: Recover Access

This PrestaShop tutorial suggests ways to recover access to the PrestaShop admin panel.

If you forget your admin password, you can reset your password by e-mail. This is the easiest way to change the admin password.

In case this option is not available, you may want to reset the password in the database manually via Control Panel to access the Admin Panel. For example, the e-mail method that you have integrated into the Prestashop website does not work correctly.

Prestashop Admin: Recover Access

2 simple ways:

Recover Access to Prestashop Admin in database

This is the way I usually use it for my demo store. Here we manually reset the admin password in the database. Follow this step-by-step tutorial:

  • Step I: Open and edit your-website/config/ file (Prestashop 1.5, 1.6), or your-website/app/config/parameters.php (Prestashop 1.7) using your file manager tool from cPanel or FTP.
  • Step II: Find the COOKIE_KEY (cookie_key : Prestashop 1.7), and then copy the long alphanumeric value that follows.

    Cookie key

  • Step III: Remember the value of the _DB_NAME_ variable (or database_name : Prestashop 1.7). It is the name of your PrestaShop database.
  • Step IV: Access a database manager (for example phpMyadmin), click the name of the PrestaShop database that you got in step III.

    PrestaShop database

  • Step V: Access the ps_employee table.
  • Step VI: Edit the row for the administrator login that you want to reset.
  • Step VII: Find the passwd row. Put into the Value field your new administrator password after the alphanumeric value you got in Step II. Please remember there should not be a space between the two values.

    For example 3453kfhdjkfsjkfsdmynewpassword.

  • Step VIII: Choose MD5 in the Function list box for the passwd lines. Save your database.

Reset the admin password by email

This is the simplest solution:

  • Step I: Click on Lost password on the Prestashop Admin app login screen.
  • Step II: Fill into the Email address field the administrator email address. Then the new PrestaShop admin password will be sent to the admin email address.

How to get admin URL in PrestaShop?

You can access the Admin panel URL by typing your website address plus the admin folder name. Let's say you renamed the folder admin to "mybackend" after deleting the installation directory on the last step of the installation processing, so you should visit my-website/mybackend to see the Admin Dashboard Login page. Learn more about the PrestaShop Admin Login URL.

But sometimes, it's not working. Do you know what? We usually use an SMTP account for sending the email on the PrestaShop store. Sometimes we forgot to set up these values inside the Administration Panel and only use PHP's mail() function. In some cases, this function has been disabled by your PrestaShop hosting provider. Discover How to set up PrestaShop SMTP Parameters for sending PrestaShop email without using any module.

PrestaShop SMTP Parameters

Now you can use the new password as login information to access the Back Office Admin Dashboard to install a new PrestaShop theme or customize your PrestaShop Addons.

Note: Recently, we discovered a new issue on accessing Admin Dashboard and here is the solution for PrestaShop Login: Successful login, PrestaShop Automatically log out.

People in this conversation

This comment was minimized by the moderator on the site

Es muy útil. Gracias.

PrestaSOO team
Everything you need to make a living doing work you love.


It is a wise investment

Prestashop modules we created first to solve the problem of our own business - an e-Commerce site. That means they are very useful for a serious business. If you value your web property, these modules are a wise investment.
Sarah Reeves, App Developer @ PrestaSOO
Made with in Paris & Hanoi
PrestaSOO © 2022. All rights reserved. // Privacy Policy Terms of Service