asp.net mvc - Convert 404/500 or any other error code to 301 -


i have site in mvc , want url error code 404 redirect 301. can permanently(web.config/iis) , how? please suggest me option keeping in mind seo part of site.

i have hundreds of urls generating 404 , 500 errors want redirect them site base url "www.site.com"

i have error links this: www.site.com/index.php?page=item&id=39

www.site.com/ad/detail/b7bd026f-3ba2-444f-8786-6e551d6e1668


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -