I have already set error page to redirect to another page, it works fine. But urls with unknown course ids for example :
http://domain.com/course-status/?categoryid=54
Redirects to "Contact Admin" Page, which is a page with only message:
"This Course can not be taken. Contact Administrator."
How to redirect this page to another page ?
If you are accessing the course status page and but you are not allowed to access it then this message is shown. The page exists therefore its not considered as a 404 error but you are not allowed to access this page.