asp.net - not found error not handling in web.config -


i trying put customerror tag in web.config file.. still doesn't redirect default url

http://www.lacopainn.com/page/2/?p=dbasndwefxknyafc&wpmp_switcher=mobile

here site. when enter url shows error of

not found

the requested document not found on server.

how can handle error , redirect detault page??

please help

you need put following tag under system.web tag in webconfig file

<system.web> <customerrors mode="on"> <error statuscode="404" redirect="default.aspx" /> </customerrors> </system.web> 

hope fix problem.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -