cancel
Showing results for 
Search instead for 
Did you mean: 

Magento2 - Request exceeded the limit of 10 internal redirects

Magento2 - Request exceeded the limit of 10 internal redirects

null

1 REPLY 1

Re: Magento2 - Request exceeded the limit of 10 internal redirects

Hello @cmsjsoniefbd3 

 

Option 1: If the field with path web/secure/base_url was missing in the table core_config_data, but web/unsecure/base_url existed. 

First, you must solve it by changing http in web/unsecure/base_url to HTTPS.

 

  • SSH into the server.
  • CD to your Magento installs dir.
  • Run the following command: bin/magento config:show

   View the output and look for web/secure/base_url, web/secure/base_link_url & web/secure/use_in_adminhtml.

 

   These values should be configured with {YOUR DOMAIN} for the URL options and web/secure/use_in_adminhtml = 1.

   If they are not, you can run the following commands from your Magento install directory to update your configuration.

bin/magento config:sensitive:set web/secure/base_url {YOUR DOMAIN}

bin/magento config:sensitive:set web/secure/base_link_url {YOUR DOMAIN}

bin/magento config:set web/secure/use_in_adminhtml 1

bin/magento cache:clean

 

 

Option 2: The directory for the Magento website on the server

When running Magento initial installation, If you selected "No" for Use Web Server Rewrites. This setting is under Admin Panel - System - General - Web.

 

In .htaccess of root Magento folder after finishing the initial installation 

it had: RewriteBase /magento/ As noted before folder was {Magento root directory}

 

You want to change Web Server Rewrites to 'Yes' under Admin Panel - System - General - Web.

 

In .htaccess, you need to change: RewriteBase /

 

Option 3:  Set permission 755 to necessary files and folders

The base things to watch out for are the files & directories that must be writable:

 File: {Magento root directory}/var/.htaccess

 Directory: {Magento root directory}/app/etc

 Directory: {Magento root directory}/var

 All the directories under: {Magento root directory}/media 

 

If you find our reply helpful, please give us kudos.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9