PrestaShop

Unexpected HTTP Status 302 - PrestaShop

0.7 min read

| September 14, 2024

Problem

Extensiv Integration Manager cannot communicate with PrestaShop and displays a 302 error like the following:
 

This call to PrestaShop Web Services returned an unexpected HTTP status of 302

Solution

Generate empty .htaccess file

If PrestaShop is Self-Hosted:

  1. make sure that Virtual Host is set properly in Web Server config file. Restart Web Server after modifying config file.
     
  2. Go to PrestaShop root directory, and download .htaccess file to your local machine to back up. 

    File .htaccess can be hidden. Make sure to enable Show Hidden File from your FTP file manager. 

    If no .htaccess file is found, create one under PrestaShop root directory.
     
  3. Set file permission to 666 (chmod 666 .htaccess).
     

If PrestaShop is PrestaShop-Cloud Hosted:

  1. Please contact PrestaShop to generate empty .htaccess file with appropriate permission on PrestaShop-Cloud server.
     

In order to let PrestaShop rewrite .htaccess file: 

  1. Open Prestashop admin panel in browser. Go to PreferencesSEO & URLs
     
  2. Disable Friendly URL, and click on Save. Then Re-enable Friendly URL, and click on Save again. It will automatically rewrite empty .htaccess file. 
     
  3. If you are using the Multistore functionality, Go to PreferencesGeneral, turn the Multistore feature off and save changes. 

    Then turn the Multistore feature on, and save changes again. 
 

Not finding the help you need?

Contact Support