I am using this code:
What I am looking for though is basically a one page redirection. Try to explain:
If user goes to /folder/index.php between 12 and 4 they are auto redirected to /folder/index2.php which is perfect, and this works.
However, if user goes to /folder/page1.php they are STILL auto redirected to /folder/index2.php
What I want is to ONLY redirect to /folder/index2.php IF they go to the index, but no redirect if they go to any other page in that folder.
How can I do this?