Redirect index to pages