Added redirecting for final folder to index.php