I found some very helpful tips while searching for my need. Mates, I want to ask a favor, please guide me how can I redirect database generated pages to any other page or home page.
Let me explain what I mean to say. I am currently running a Wordpress and I want to switch to manual site simple php based site without database(I am not familiar with database). I am about to remove Wordpress and upload manual site. As per pages have been indexed into search engines, I want if a user comes through Search Engine with link www.example.com/some-database-generated-post/ he may redirect to index page www.example.com/index.php instead of having empty page. Because after removing Wordpress there will neither be any post nor 404 error page.
I'll appreciate any tip regarding to my need. Please help me out how can I fix it.