Everything works fine, whatever I type after the "/" is in my $_GET["url"] variable. But as soon as I type in domain.com/index, it somehow automatically adds the .php extension to my url and leaves my $_GET["url"] empty. Same story when I try domain.com/test: it goes to test.php instead of rewriting to domain.com/url=test.
The strangest thing is that on 000webhost.com it all works perfectly! When I upload the same file(s), its shows up the index and test in my $_GET["url"] variable.
Here at CodeRanch we are fine with cross-posting, however we ask you to disclose this. Otherwise some people (who want to help you) might waste their time and effort answering a question that has already been answered. And that might cause a (very) big annoyance.