add_filter( 'wpseo_canonical', '__return_false' );

Year: 2020