The key thing is to returnĀ the Real 404 HTTP status codeĀ and avoid any solution that replaces 404 with 301. This is completely wrong and has the potential to do damage to your site.
Return HTTP status code 404 and error content in ASP.NET MVC
R
The key thing is to returnĀ the Real 404 HTTP status codeĀ and avoid any solution that replaces 404 with 301. This is completely wrong and has the potential to do damage to your site.