I need to prevent this urls:
index.php/test/ must be redirect to index.php
index.php/test/test/ must be redirect to index.php
I need this to be automatically, because i have multiple pages (index.php, team.php and etc...)
Without bring the names of the pages in htaccess
Important: i have this urls:
index.php?page=5 (this need's to be working fine)