Rewriting of subpage processing