Site icon PrestaShop | Magento | CRM Modules

Prestashop How To Change Admin Folder Name

Changing the admin folder name in PrestaShop is a common security step. Here’s the correct and safe way to do it.


πŸ”Ή Why Change Admin Folder Name?


πŸ”Ή Step-by-Step: Change Admin Folder Name

βœ… 1. Locate Your PrestaShop Root

Go to your hosting (like File Manager or FTP):

/public_html/

You will see something like:

admin123abc

πŸ‘‰ PrestaShop already creates a random admin folder during install.


βœ… 2. Rename the Admin Folder

Just rename it to something unique:

admin123abc β†’ mysecurepanel

βœ” Example:

/public_html/mysecurepanel

βœ… 3. Access New Admin URL

Now open:

https://yourdomain.com/mysecurepanel

πŸ‘‰ Your old /admin or previous URL will NOT work anymore.


⚠️ Important Things to Check

βœ” Update Bookmark

βœ” Clear Cache (if issue)

Delete:

/var/cache/prod
/var/cache/dev

βœ” Check .htaccess (rare case)

Normally no change needed, but if login fails:


πŸ”Ή If You Forgot Admin Folder Name

Check via:


πŸ”Ή Advanced (Extra Security Tips)

Example:

Order Deny,Allow
Deny from all
Allow from YOUR_IP

πŸ”Ή Important Warning

❌ Do NOT rename:

Only rename the admin folder


Β 

Exit mobile version