Setting canonical attribute