Compatible with URL rewrite
In case the index page would be redirected to another url