If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

PrestaShop 1.6.x. How to regenerate .htaccess file

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]

 
Live Chat
We help you to choose the right product.
Start chat