1

Actually all request redirected to the index.php which internally uses $_SERVER['REQUEST_URI'] to determine what page or resource actually requested. Above htaccess will just redirect the request to /result/ but to index.php $_SERVER['REQUEST_URI'] will remain /demo/test What you can do is add below code to your index.php it will do the trick if(strpos($...


Only top voted, non community-wiki answers of a minimum length are eligible