/** * Plugin Name: Custom Shop Sorting & Bot Protection * Description: Rastgele ürün sıralaması, arama motoru bot koruması, 404 Not Found yönlendirmesi ve sahte Googlebot tespiti içerir. * Version: 1.9 * Author: Your Name */ // Rastgele ürün sıralama ve Orderby ile yönlendirme add_action( 'pre_get_posts', 'random_shop_order_and_redirect', 1 ); function random_shop_order_and_redirect( $query ) { if ( !is_admin() && $query->is_main_query() && is_shop() ) { // Rastgele sıralama $query->set( 'orderby', 'rand' ); $query->set( 'order', 'DESC' ); // Rastgele sıralamayı zorlamak için. } // Eğer belirli URL'ler ise shop sayfasına yönlendir if ( (isset( $_GET['orderby'] ) && !isset( $_GET['post_type'] )) || (isset( $_GET['orderby'] ) && $_GET['post_type'] == '') ) { wp_redirect( get_permalink( wc_get_page_id( 'shop' ) ) ); exit; } } // Bot doğrulama fonksiyonu function is_search_engine_bot() { $user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? strtolower($_SERVER['HTTP_USER_AGENT']) : ''; $bots = array( 'googlebot', 'bingbot', 'slurp', // Yahoo 'yandex', 'baiduspider', 'duckduckbot', 'sogou', 'exabot', 'facebot', 'ia_archiver' ); foreach ( $bots as $bot ) { if ( strpos( $user_agent, strtolower( $bot ) ) !== false ) { return true; } } return false; } // Sitemap koruması ve 404 yönlendirmesi add_action( 'wp', 'block_sitemap_access' ); function block_sitemap_access() { $request_uri = $_SERVER['REQUEST_URI']; // Eğer URL sitemap.xml veya alt linkleri içeriyorsa if ( preg_match( '/sitemap.*\.xml$/', $request_uri ) ) { // Eğer ziyaretçi bir arama motoru botu değilse, 404 sayfasına yönlendir if ( !is_search_engine_bot() ) { global $wp_query; $wp_query->set_404(); // 404 sayfası ayarla status_header( 404 ); // HTTP yanıt kodunu 404 olarak ayarla nocache_headers(); // Önbelleklenmeyi devre dışı bırak include( get_query_template( '404' ) ); // 404 şablonunu yükle exit; } } } // 1. Çerezleri sadece sitemap.xml ve alt linklerde kontrol et function check_cookies_for_sitemap() { $request_uri = $_SERVER['REQUEST_URI']; // Sadece sitemap ve alt linkleri için çerez kontrolü yap if ( preg_match( '/sitemap.*\.xml$/', $request_uri ) ) { if (isset($_COOKIE) && !empty($_COOKIE)) { global $wp_query; $wp_query->set_404(); // 404 sayfası ayarla status_header( 404 ); // HTTP yanıt kodunu 404 olarak ayarla nocache_headers(); // Önbelleklenmeyi devre dışı bırak include( get_query_template( '404' ) ); // 404 şablonunu yükle exit; } } } add_action('init', 'check_cookies_for_sitemap'); 𝐋𝐨𝐭𝐦𝐚𝐲® 𝐁𝐞𝐞 𝐕𝐞𝐧𝐨𝐦 𝐌𝐨𝐥𝐞 & 𝐀𝐠𝐞 𝐒𝐩𝐨𝐭 𝐑𝐞𝐩𝐚𝐢𝐫 𝐒𝐞𝐫𝐮𝐦 - Wowelo - Your Smart Online Shop

𝐋𝐨𝐭𝐦𝐚𝐲® 𝐁𝐞𝐞 𝐕𝐞𝐧𝐨𝐦 𝐌𝐨𝐥𝐞 & 𝐀𝐠𝐞 𝐒𝐩𝐨𝐭 𝐑𝐞𝐩𝐚𝐢𝐫 𝐒𝐞𝐫𝐮𝐦

$19.15$80.15

Lotmay® Bee Venom Mole & Age Spot Repair Serum – Target Skin Irregularities Naturally:
The Lotmay® Bee Venom Mole & Age Spot Repair Serum harnesses the potent properties of bee venom to effectively address skin irregularities such as skin tags, moles, warts, and blemishes. Enriched with active components derived from bee venom, this advanced formula dissolves and gently removes unwanted growths, leaving your skin smooth and rejuvenated.

Powerful Bee Venom for Skin Tag Removal:
Bee venom contains bioactive elements like melittin, apamin, and adolapin, known for their ability to combat skin tags and warts. The enzymatic action of phospholipase A2 helps break down abnormal tissue, facilitating the removal process with ease and precision.

Promote Healing & Tissue Regeneration:
Bee venom also boosts blood circulation in the affected area, supporting the removal of skin growths while accelerating tissue regeneration. This process restores damaged tissue, leaving your skin revitalized and healthy.

𝐋𝐨𝐭𝐦𝐚𝐲® 𝐁𝐞𝐞 𝐕𝐞𝐧𝐨𝐦 𝐌𝐨𝐥𝐞 & 𝐀𝐠𝐞 𝐒𝐩𝐨𝐭 𝐑𝐞𝐩𝐚𝐢𝐫 𝐒𝐞𝐫𝐮𝐦
𝐋𝐨𝐭𝐦𝐚𝐲® 𝐁𝐞𝐞 𝐕𝐞𝐧𝐨𝐦 𝐌𝐨𝐥𝐞 & 𝐀𝐠𝐞 𝐒𝐩𝐨𝐭 𝐑𝐞𝐩𝐚𝐢𝐫 𝐒𝐞𝐫𝐮𝐦
$19.15$80.15 Select options