Hi guys, how to customize error page, and how is working?
Error Page Path: ~\Nop.Web\ErrorPage.htm
In the web.config file you will see the following code ==>
<customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly"> <!-- We handle all 404 errors in "PageNotFound" method of "CommonController". But let's have it here anyway. --> <error statusCode="404" redirect="filenotfound.htm" /> </customErrors>
Note: if error status code ="404" then it redirect to "filenotfound.htm" others case it redirect to defaultRedirect="errorpage.htm"
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.