Extract Page Path

Extract the first part of the page path