نظرة عامة على المشكلة
إذا كنت تستخدم Premmerce Permalink Manager لـ WooCommerce و Elementor، فستلاحظ أنه إذا قمت بإنشاء منتج جديد أو تعديل منتج حالي وضبط بنية مخصصة للرابط الدائم للمنتج، فإن Elementor ستفتحه في الوضع الآمن.
حل بديل مؤقت
Please make a full backup of your site before you start.
Add this code to your theme’s functions.php file. It stops WPML from redirecting Elementor’s preview request; normal visits to the old product address still redirect.
// WPML workaround for compsupp-6358: let the Elementor preview load without WPML's redirect.
add_filter( 'wpml_is_redirected', function ( $redirect ) {
return isset( $_GET['elementor-preview'] ) ? false : $redirect;
} );