Error 404 will show when URL Rewriting is disabledThe MOD REWRITE (URL rewriting) is active by default on all InMotion Hosting servers. However, this setting can be manipulated in the .htaccess file. Prestashop requires that URL rewriting be active when Friendly URLs are enabled as an option. If the URL rewriting is disabled, then a 404 error will appear when attempting to use the login for the PrestaShop website. The following steps explain how to correct this error on your InMotion Hosting account.

 

Fixing a 404 Error in PrestaShop when Mod_Rewrite is Disabled

  1. How to log into 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. Shows that mod_rewrite is disabledURL Rewriting is on by default on all InMotioniHosting servers.  This means that you do not need to specifically have code in the .htaccess file to turn on the option. However, code can be included in the .htaccess file that can turn OFF the option and may often be the source of the problem.  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 To enable seet the Rewrite Engine setting to ON ('RewriteEngine on'). If it is disabled, you will see it set as 'RewriteEngine off'.
  6. Click on Save Changes in the top righ hand corner of the editor.


If URL Rewrite enabled, then the 404 error will not appear.  For more information about enabling Friendly URLs, go to How to set up Search Engine Friendly URLs in PrestaShop 1.5.

Continued Education in Course Prestashop 1.5
You are viewing Section 20: 351: 404 Error occurs in PrestaShop 1.5 login
Section 19: 334: Configuring the Product Tooltips module in PrestaShop 1.5
Section 21: 335: Configuring the RSS Feed module 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!

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!
Ask a Question

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.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!