Updating the layout to correct the canonical URLs