Rewrite slash to index