/** * Add hreflang tags for GTranslate subdomain languages * ExploreTraveler.com */ add_action( 'wp_head', 'exploretraveler_add_hreflang_tags', 1 ); function exploretraveler_add_hreflang_tags() { // Get the current path (without domain) $path = $_SERVER['REQUEST_URI']; // Clean the path (remove query strings if any) $path = strtok( $path, '?' ); // List of your languages (subdomain => hreflang code) $languages = array( 'en' => 'https://exploretraveler.com', // English (main) 'es' => 'https://es.exploretraveler.com', // Spanish 'ar' => 'https://ar.exploretraveler.com', // Arabic 'zh-CN' => 'https://zh-CN.exploretraveler.com', // Chinese Simplified 'zh-TW' => 'https://zh-TW.exploretraveler.com', // Chinese Traditional 'fr' => 'https://fr.exploretraveler.com', // French 'de' => 'https://de.exploretraveler.com', // German 'id' => 'https://id.exploretraveler.com', // Indonesian 'ja' => 'https://ja.exploretraveler.com', // Japanese 'ko' => 'https://ko.exploretraveler.com', // Korean 'ms' => 'https://ms.exploretraveler.com', // Malay 'ru' => 'https://ru.exploretraveler.com', // Russian 'uk' => 'https://uk.exploretraveler.com', // Ukrainian 'tl' => 'https://tl.exploretraveler.com', // Filipino ); // Output the tags foreach ( $languages as $code => $domain ) { $url = rtrim( $domain, '/' ) . $path; echo '' . "\n"; } // x-default points to the English version $default_url = 'https://exploretraveler.com' . $path; echo '' . "\n"; }
Skip to content

Adventure

Ocean View along the Taiwan East coast

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler Enjoy the quiet times on adventure travel. -~-~~-~~~-~~-~- Please watch: “(34) Sycamore Tree In Ancient Israel – ExploreTraveler ” https://www.youtube.com/watch?v=bZuL3xcnBr0 -~-~~-~~~-~~-~-

Tales From The Ancient Past

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler https://ExploreTraveler.com Time for you to take an adventure. Join our free channel or visit our website. We talk about food, travel…

Jaffa Israel

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler Old area of Tel Aviv Israel. Great area to find bargains inside small shops. Visit us at ExploreTraveler.com -~-~~-~~~-~~-~- Please watch:…

Taiwan Foodie Short Video

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler -~-~~-~~~-~~-~- Please watch: “(34) Sycamore Tree In Ancient Israel – ExploreTraveler ” https://www.youtube.com/watch?v=bZuL3xcnBr0 -~-~~-~~~-~~-~-

June 28, 2015

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler -~-~~-~~~-~~-~- Please watch: “(34) Sycamore Tree In Ancient Israel – ExploreTraveler ” https://www.youtube.com/watch?v=bZuL3xcnBr0 -~-~~-~~~-~~-~-

ExploreTraveler App

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler https://exploretraveler.com Enjoy our free App that is fully linked to our website, and blog. Download our App from the google play…

Old City of Petra Jordan

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler https://exploretraveler.com The city of #Petra is a great adventure that takes several days. What people see most of the time is…

Market Adventure

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler -~-~~-~~~-~~-~- Please watch: “(34) Sycamore Tree In Ancient Israel – ExploreTraveler ” https://www.youtube.com/watch?v=bZuL3xcnBr0 -~-~~-~~~-~~-~-

One of Israel’s Spectacular Cathedrals

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler -~-~~-~~~-~~-~- Please watch: “(34) Sycamore Tree In Ancient Israel – ExploreTraveler ” https://www.youtube.com/watch?v=bZuL3xcnBr0 -~-~~-~~~-~~-~-

Cathedral in Israel

Signup for our Newsletter Email here: https://mailchi.mp/544d66e78709/subscribe-to-exploretraveler -~-~~-~~~-~~-~- Please watch: “(34) Sycamore Tree In Ancient Israel – ExploreTraveler ” https://www.youtube.com/watch?v=bZuL3xcnBr0 -~-~~-~~~-~~-~-