I'm trying to redirect about 40 web addresses from an old site to a new site. I was able to redirect all of the pages that DO NOT have a ".aspx" in them to the new site using .htaccess but I cannot figure out how to redirect the .aspx links. I was told I need to do it in the web.config file.
Thank you for these links. However, I checked into them and I don't think they tell me what needs to be done. I am redirecting from an .aspx to an .aspx but I'm using a PHP server to do the forwarding... I have multiple individual URLs that I wanted to redirect.
you need to write URL rewrite in web.config file. It will fix your problem.
Thanks but I don't know how to do that. I thought that if I could figure out a way to forward all .aspx to the new website, it would work. But in the interim, I figured out how to forward all error messages to the new site so it effectively works the same way.