I have an index.php file that processes all requests to the server. I set a 404 error for redirection in .htaccess as follows:
ErrorDocument 404 /index.php
If the user requests a file, say, page.php , it will be redirected to index.php correctly.
The problem occurs when users request page.php?page=about, then my index.php is unable to retrieve the query near using $ _ REQUEST ['page'] `.
How can I get the about request via index.php using $_REQUEST['page'] ?
source share