Categories

Featured templates

PrestaShop 1.6.x. How to regenerate .htaccess file

Vincent White April 13, 2015
Rating: 5.0/5. From 3 votes.
Please wait...

The following tutorial will show you how to regenerate .htaccess file in your PrestaShop 1.6.x store.

PrestaShop 1.6.x. How to regenerate .htaccess file

NOTE: .htaccess is a special configuration file which is used on web servers running on the Apache web server software. It is located in your store root directory and enables some environment variables. Without .htaccess it will not be possible to turn on pretty urls (url – rewriting rules etc.), disable access to some directories, actions, etc.

Why is regenerating .htaccess file required?

Sometimes it is necessary to regenerate htaccess file. After some changes in SEO & URL’s settings, after adding image types into Preferences -> Images section, after activating and modifying the multistore some features may not work properly in your PrestaShop front office. In this case you must regenerate .htaccess file.

Removing file from your root directory

  1. Enter your website server via FTP or cPanel File manager.

  2. Navigate to your store root directory.

  3. Download .htaccess file to your computer to back it up.

  4. Select the file on your server and click Delete button:

    prestashop_1_6_how_to_regenerate_htaccess1

Regenerate using SEO URLs

  1. Log into your PrestaShop admin panel.

  2. Navigate to Preferences -> SEO and URLs.

  3. Set Friendly URL option to No and click Save button:

    prestashop_1_6_how_to_regenerate_htaccess2

  4. Enable Friendly URL back and save the changes.

  5. .htaccess should be successfully regenerated in your store.

Regenerate if you are using multistore

  1. Log into your PrestaShop admin panel.

  2. Navigate to Preferences -> General.

  3. Turn the multistore feature off and save changes.

  4. Enable Multistore back and save the configuration:

    prestashop_1_6_how_to_regenerate_htaccess3

  5. Your htaccess file will be regenerated properly.

That is the end of the tutorial. Now you know how to regenerate .htaccess file in your PrestaShop 1.6.x store.

Feel free to check the detailed video tutorial below:

PrestaShop 1.6.x. How to regenerate .htaccess file

PrestaShop Store Marketing - Beginner's Guide [Free eBook]

Themes for Prestashop
This entry was posted in PrestaShop Tutorials and tagged .htaccess, file, Prestashop, regenerate. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket