Add directory index, change page old index to page type 1