In wordpress if pages aren't thought it was instantly redirects to 404 page. but i wish to redirect to default page that is i produced within the same theme (without redirection to 404 page) once the pages aren't found. how do i do that?...

Thanks Ravichandran

ErrorDocument 404 /default.php

Add this inshtaccess file

you are able to edit the 404.php file, after which add the next line:

header('location:your-domain-name.com');

or redirect with a php file also:

header('location:default.php');

Simple trick. It really works for me personally.