add permalinks to pages