remodify $selfurl in index page