add_filter( 'redirect_canonical', 'itsme_redirect_canonical', 10, 2 );
function itsme_redirect_canonical( $redirect_url, $requested_url ) {
global $wp_rewrite;
if( is_single() && in_category( 'intl' ) && strpos( $wp_rewrite->permalink_structure, '%category%' ) !== false && $cat = get_query_var( 'category_name' ) ) {
$category = get_category_by_path( $cat );
if( $category && !is_wp_error( $category ) ) {
return $requested_url;
}
}
return $redirect_url;
}