Updating url references for all pages and restricted status