I have a website developed using NopCommerce (ASP .Net)
I have an issue implementing 301 redirect. I have used global.asax for implementing 301 redirects and all redirects are working properly except the one mentioned below:
www.ABC.com --302--> www.ABC.com/default.aspx
The problem here is that I recently had a domain migration from ABC to XYZ so my redirect chain is like
www.ABC.com --302--> www.ABC.com/default.aspx --301--> www.XYZ.com --302--> www.XYZ.com/default.aspx
From an SEO perspective, it needs to be in the following way:
www.ABC.com/ --301--> www.XYZ.com/
www.ABC.com/default.aspx --301--> www.XYZ.com/
www.XYZ.com/default.aspx --301--> www.XYZ.com/
Please help.