Site icon PrestaShop | Magento | CRM Modules

Prestashop How To Change Admin Folder Name

Easy one πŸ‘ Changing the PrestaShop admin folder name is actually recommended for security. Here’s the safe, correct way (PS 1.7 & 8.x).


βœ… Why Change Admin Folder Name?


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

1️⃣ Go to Your Store Root (via Hosting / FTP)

Example folders:

admin
app
classes
config
modules
themes

2️⃣ Rename the Admin Folder

Rename:

admin

to something unique, for example:

admin_shahab_92
admin_secure
backoffice_xyz

πŸ“Œ Do NOT use spaces or special characters


3️⃣ Open the New Admin URL

Open in browser:

https://yourdomain.com/admin_shahab_92

βœ” PrestaShop will automatically detect the new folder
βœ” No config file editing needed


4️⃣ Bookmark the New URL ⭐

PrestaShop does not show the admin URL anywhere else.


⚠️ Important Things to Know

❌ Old /admin URL

❌ Don’t Rename These Files

Inside admin folder, do not rename files like:

index.php
.htaccess

Only rename the folder name, nothing inside.


πŸ” Extra Security Tips (Highly Recommended)

βœ” Protect Admin with .htaccess

Add password protection or IP restriction.

βœ” Enable Two-Factor Authentication

Back Office:

Configure β†’ Advanced Parameters β†’ Administration

βœ” Use a Strong Folder Name

Avoid:

admin123
admin_new

Use:

bo_9xA3_secure

🧯 Common Problems & Fixes

πŸ”΄ Admin page not opening?

Try:

  1. Clear cache:
/var/cache/prod
/var/cache/dev
  1. Check file permissions:
755 folders
644 files

πŸ”΄ 500 Internal Server Error?

define('_PS_MODE_DEV_', true);

πŸ”΄ Forgot admin folder name?

Check database:

SELECT value FROM ps_configuration WHERE name='PS_BO_ALLOW_EMPLOYEE_FORM_LANG';

OR check hosting file manager πŸ˜‰


βœ… Final Checklist

βœ” Folder renamed
βœ” New URL opens
βœ” Admin login works
βœ” Bookmark saved


Β 

Exit mobile version