Activating the Friendly URLs in PrestaShop can lead to problems if MOD REWRITE (URL rewriting) is not available or not permitted.  One of the most common ways to see this immediately is to get a 404 error during the login. Here's an example of what you may see:

404 error seen upon login

By default, this error will not normally happen on a Web Hosting Hub, because URL rewriting is enabled unless manually disabled within the .HTACCESS file.  The following steps explain how to correct this error on a Web Hosting Hub account.

Correcting a 404 Error in PrestaShop when Mod_Rewrite is Disabled

  1. Login to the Cpanel.
  2. Click on File Manager and then navigate to the installation location of your PrestaShop installation.
  3. At the root of your PrestaShop installation look for the .htaccess file.  Click on the file to highlight it and then click on EDIT or CODE EDIT at the top of the File Manager in order to edit the file.

  4. Mod write is off in HTACCESSNormally, URL Rewriting is on by default on Web Hosting Hub servers.  This means that adding code is not necessary in order to enable this feature.  However, code can be included in the .htaccess file that can turn OFF the option.  Observe the screenshot at right for an example of how this may appear.
  5. Edit the .htaccess file and turn mod_rewrite so that it is ON ('RewriteEngine on' is simply set instead of 'RewriteEngine off').
  6. Click on Save Changes in the top righ hand corner of the editor.


When URL Rewrite has re-enabled, then the error will not recur.  For more information about enabling Friendly URLs, go to Enabling Search Engine Friendly URLs in Prestashop 1.5.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}