Troubleshooting PrestaShop Admin 404 Errors: A Quick Fix

PrestaShop Admin Panel 404 Error: A Simple Solution

A common issue for new PrestaShop store owners is encountering a 404 error when trying to access the admin panel, also known as the back office (BO). This insight distills a recent forum thread where a user, RadekLodz, faced this exact problem after installing PrestaShop on a VPS server. While the storefront was functioning correctly, accessing the administration area resulted in a frustrating 404 error.

The original poster (OP) described the problem:

Hello community,
I installed the PrestaShop engine on my VPS server. The store front is working fine, but when I try to access the store's administration panel, I get a 404 error. What could be wrong?
Best Regards

The solution, hinted at by a reply from user endriu107, often lies in verifying the correctness of the back office (BO) path. The default admin folder is often renamed during PrestaShop installation for security reasons.

Verifying and Correcting the BO Path

Here's how to troubleshoot this issue:

  1. Check the Admin Folder Name: Using an FTP client or your VPS file manager, navigate to your PrestaShop installation directory. Look for a folder that resembles "admin," but likely has a unique, randomly generated name (e.g., "admin123", "secretAdmin"). This is your renamed admin folder.
  2. Access the Admin Panel: Use your browser to access the admin panel using the correct URL. The URL should follow this pattern: yourdomain.com/your_admin_folder_name/. Replace yourdomain.com with your actual domain and your_admin_folder_name with the actual name of your admin folder.

Example: If your domain is myonlineshop.com and your admin folder is named admin890, the correct URL to access your admin panel would be myonlineshop.com/admin890/.

If you're still encountering a 404 error after verifying the admin folder name, double-check your .htaccess file for any rewrite rules that might be interfering with the admin panel access. Also, ensure that your server configuration is correctly set up to handle PrestaShop's URL rewriting.

While this thread is short, it highlights a very common problem faced by PrestaShop users. By verifying the back office path, most users can quickly resolve the 404 error and gain access to their store's administration panel.

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools