Consider that I've a website like http://mywebsite.com .... there's a directory as http://mywebsite.com/lokeshthegeek I've edited the .htaccess for this directory and now every 404 error redirects to http://mywebsite/lokeshthegeek/index.php ... Now what i want is the 404 error does redirect to the index.php but the error url stays in the address bar. It will be much appreciable if one can find a solution to this. Also it will be cherry on the cake if the error page gets cached and get stored in my host. For example - this is the error page - http://mywebsite.com/lokesthegeek/dp.php Now whenever someone goes there the page shud be created automatically with the same source code as index.php! This way google shud be able to index the page. Help Really very appreciated. Thnx a lot.