URL update: detect admin pages properly