I am studying using 301 redirects by noticing a bunch of hits in my Google Analytics domain on .asp pages that no longer exist, moving everything to a .NET installation.
After spending a bit of Googling time, I was able to add the following code to my web.config.
<location path="products.asp"> <system.webServer> <httpRedirect enabled="true" destination="https://www.hartnollguitars.co.uk/products.aspx" httpResponseStatus="Permanent" /> </system.webServer> </location>
This is fine and moves everything from products.asp to pproducts.aspx , but does not save the task, which makes sense for any meaning, i.e. products.aspx?id=789
source share