Showing results for 
Search instead for 
Did you mean: 

302 redirect when trying to run installer

302 redirect when trying to run installer

Right after files are uploaded (2.4.3), I am trying to run the installation from browser but there is a never-ending loop of 302 redirect, yet the page does not really redirect anywhere, stays at the same page, same protocol.

I really have no idea what to do next and this is just an installation, so there are no custom/sertup files created yet, no database entries, nothing... just default files.


Re: 302 redirect when trying to run installer

This issue can occur due to a number of reasons, such as incorrect file/folder permissions or an issue with your web server configuration. Here are a few steps you can try to resolve the issue:

  1. Check file/folder permissions: Make sure that the files and folders of your Magento installation have the correct permissions. For example, files should have a permission of 644 and folders should have a permission of 755.

  2. Check web server configuration: Make sure that your web server is properly configured to handle PHP files and has the necessary modules installed. Also, check if there are any conflicting rules in the .htaccess file.

  3. Clear cache: Clear the cache of your browser and Magento to ensure that any previously cached data is not causing the issue.

  4. Check PHP version: Make sure that you are running the recommended version of PHP for your version of Magento. You can check the Magento documentation for the recommended PHP version.

  5. Check for any conflicting extensions: Disable any third-party extensions and try running the installer again.

If none of the above steps work, you can try reinstalling Magento. Also, make sure that you have checked the system requirements before installing Magento.