as a php programmer, I usually redirect pages with .htaccess, but having inherited a project formerly made with asp, I need to redirect pages to same-named pages in php. For pages that do not exist in php, index.php should be the redirected page.
Would you please help me with some suggestions and resources? I can only find single page to single page redirect.
Thank you very much