/** * 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

ExploreTraveler – International Travel, RV Living, and Real-World Travel Knowledge Since 1989

ExploreTraveler is a global travel knowledge platform built from real travel, international work experience, and full-time RV living. Founded by John and Karen Gentry, ExploreTraveler documents practical travel preparation, safety awareness, destination research, and real-world travel logistics across the United States and internationally.

The ExploreTraveler brand was built on real travel writing and international experience beginning in 1989 and was formally launched online in 2011. Today, ExploreTraveler combines travel guides, video documentation, RV living knowledge, and global travel field experience to help travelers plan safer, smarter, and more efficient travel worldwide.

Start Exploring

ExploreTraveler content is based on real travel operations, international assignments, and full-time RV living experience. All articles, guides, and videos are built from real world travel documentation, photography, and field experience by John and Karen Gentry.

PETER’S DIVE RESORT

Peter’s Dive Resort Philippines

Peter’s Dive Resort Philippines Peter’s Dive Resort has welcomed the divers of the world since it opened in 2000. It’s Southern Leyte location makes it easy to exploreRead…

Fo Guang Shan in Taiwan

Fo Guang Shan in Taiwan

Fo Guang Shan Is The Fastest Growing Buddhist Organization In Taiwan Today Fo Guang Shan –What is it? Why is it growing so fast? The purpose of theRead…

Cebu Philippines scuba diving

Cebu Philippines: A Divers Paradise

Cebu Philippines: A Divers Paradise Cebu Philippines is a divers paradise! It is a snorkelers dream. Beautiful white sand beaches surround the islands. Tranquility abounds! It is perfectRead…

Pasay City, Philippines

Pasay City Manila Philippines

Pasay City Manila Philippines Pasay City is one of the urban cities that make up Metro Manila, Philippines.  Manila is the capital of the Philippine Islands. Pasay isRead…

Lake Kasudsuran Philippines

Lake Kasudsuran Philippines

Lake Kasudsuran Philippines Lake Kasudsuran is on the lovely island of Leyte, Philippines. It is in an area called the Eastern Visayas. How beautiful this area is. TheRead…