We have migrated a website from the .NET platform to Magento. We have changed the URL structure of both websites hence the old URL needs to be redirected to New URL.
For example:
New URL: https://www.example.com/nutrasec
Many of our old URL are HTTP which needs to be redirected to HTTPS. I have used the Magento URL Custom Rewrite feature to perform redirection. The redirection performed is 301 permanent. Please check the screenshot below
Though redirection works we are getting multiple redirections for it ie:
When user opens http://www.example.com/p-20912-nutrasec.aspx it is redirected [301] to http://www.example.com/nutrasec
And then again a second redirection is occurred to https://www.example.com/nutrasec which is [302]
This is a huge problem. The configuration done in the admin is as below:
We are using nginx server. It seems to be a problem with Magento Redirection. Any help will be appreciated.