Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Dynamic Group Landing Page

Context

There are some sections on the homepage, currently it redirects to search page. should redirect to group landing page instead of search page. since, it would be good for SEO.

  • Top Cuisine
    • Korean
    • Chinese
    • European
    • etc
  • Top Dining Style
    • Buffet
    • Casual Dining
    • etc
  • Top Location
    • Nana
    • Silom
    • Sathon

Will generate the group landing page based on cuisine + city (prio). example :

  • Korean restaurant in Bangkok
  • Korean restaurant in Pattaya
  • Korean restaurant in Hua Hin
  • Chinese restaurant in Bangkok
  • Chinese restaurant in Pattaya
  • etc

Solution

Sorting Default

  • Cuisine → Nearest First
  • Location → Most Relevant

Cuisine + City (Phase 1)

Meta Title: [City] Best [Cuisine] Restaurants Near Me | Hungry Hub Meta Description: Discover the best [Cuisine] restaurants in [City]. Explore our top picks for authentic [Cuisine] dishes, from classic favorites to innovative twists.

Title: [City] Best [Cuisine] Restaurants Description: Experience the vibrant flavors of [Cuisine] in [City], where tradition meets innovation. Our curated list of top [Cuisine] restaurants offers a culinary journey through the heart of [City]. Enjoy authentic dishes crafted with fresh ingredients and love. Whether you're a local or just visiting, these restaurants promise an unforgettable dining experience. Explore our recommendations to find your new favorite spot!

Dining Style + City

Meta Title: [City] Best [Dining Style] Restaurants Near Me | Hungry Hub Meta Description: Enjoy your experience at the best [Dining Style] restaurants in [City]. Discover our top picks for a memorable [Dining Style] experience

Title: [City] Best [Dining Style] Restaurants Description: Experience the best of [Dining Style] dining in [City], meets the Atmosphere or Ambiance. Our curated list of top [Dining Style] restaurants offers a best Experience that combines your favorite Cuisine. Whether you're looking for unique experience, these spots promise an unforgettable [Dining Style] experience. Explore our recommendations to find your new favorite [Dining Style] spot in [City]

Tech

Current URL: https://web.hungryhub.com/en/restaurants/search/web?cuisine_name[]=Thai&cuisine_id[]=108&city_id=1 Expected URL: https://web.hungryhub.com/en/restaurants/group/bangkok-best-thai-restaurants

template slug: {city}-best-{cuisine/diningstyle}-restaurants

Generate link from API:

  • cuisine: {{ base_api }}/homes/section_7.json
  • dining style: {{ base_api }}/homes/section_10.json compare with query city_id

Main tag_id = cuisine_id/dining_style default: nearest first for cuisine and dining style default: most relevant > location

For Location:

  • keep city on slug
  • Best Restaurant in [Location]

Blogger post and customer review hide it first.

Handle deep link: Store local data from API: https://hungryhub.com/api/v5/restaurant_tags.json?page%5Bnumber%5D=1&page%5Bsize%5D=200&type=cuisine https://hungryhub.com/api/v5/restaurant_tags.json?page%5Bnumber%5D=1&page%5Bsize%5D=200&type=dining_style {cityname}-{cuisine/diningstyle} Example: bangkok-thai, pattaya-rooftop Can extract cuisine-thai and compare with title_en var slug = "thai" if (tag[i].title_en.substringafter(":").toLowerCase().replace(" ", "-") == slug){ Extract tag id = 108 }

{
	"id": "108",
	"type": "restaurant_tags",
	"attributes": {
		"cover": {
			"url": "/uploads/restaurant_tag/cover/108/pexels-augustinus-martinus-noppe%CC%81-12866498.jpg"
		},
		"title": "ไทย",
		"title_en": "Cuisine:Thai",
		"tag_type": "cuisine",
		"total_restaurants": 957
	}
}

For the internal link if we open Bangkok Best Thai Restaurants the footer will be:

  • Bangkok Best International Restaurants
  • Bangkok Best Japanese Restaurants
  • Bangkok Best Fusion Restaurants
  • Bangkok Best European Restaurants
  • Bangkok Best Chinese Restaurants
  • Bangkok Best Italian Restaurants

Show tag cuisine/dining style that have at least 5 restaurants

Example

Can create method like this:

function generateFooter(cuisines, cities) {
    const restaurantObjects = [];
    // Loop through each city / or can replace by single city 
    cities.forEach(city => {
        // Loop through each cuisine
        cuisines.forEach(cuisine => {
            // Construct the slug
            const title = `${city} Best ${cuisine} Restaurants`;
            const slug = `${city.toLowerCase().replace(' ', '-')}-best-${cuisine.toLowerCase().replace(' ', '-')}-restaurants`;
            restaurantObjects.push({ name, slug });
        });
    });

    return restaurantObjects;
}

Phase 2: Review by tag_id

Translation

City

Bangkok = กรุงเทพ Singapore = สิงคโปร์ Pattaya = พัทยา Hua Hin = หัวหิน Khao Yai = เขาใหญ่ Phuket = ภูเก็ต Chiang Mai = เชียงใหม่

Restaurants = ร้านอาหาร Best =

Template

Title Template Translation

[City] Best [Cuisine] Restaurants

Description Template Translation

Experience the vibrant flavors of [Cuisine] in [City], where tradition meets innovation. Our curated list of top [Cuisine] restaurants offers a culinary journey through the heart of [City]. Enjoy authentic dishes crafted with fresh ingredients and love. Whether you're a local or just visiting, these restaurants promise an unforgettable dining experience. Explore our recommendations to find your new favorite spot!

Experience the best of [Dining Style] dining in [City], meets the Atmosphere or Ambiance. Our curated list of top [Dining Style] restaurants offers a best Experience that combines your favorite Cuisine. Whether you're looking for unique experience, these spots promise an unforgettable [Dining Style] experience. Explore our recommendations to find your new favorite [Dining Style] spot in [City]

Meta Title Template Translation

[City] Best [Cuisine/Dining Style] Restaurants Near Me

Meta Description Template Translation

Cuisine Discover the best [Cuisine] restaurants in [City]. Explore our top picks for authentic [Cuisine] dishes, from classic favorites to innovative twists.

Dining Style Enjoy your experience at the best [Dining Style] restaurants in [City]. Discover our top picks for a memorable [Dining Style] experience

Cuisine

Thai (TH)

Meta Title: [City] ร้านอาหาร [Cuisine] ที่ดีที่สุดใกล้ฉัน | Hungry Hub Meta Description: ค้นหาร้านอาหาร [Cuisine] ที่ดีที่สุดใน [City]. สำรวจร้านอาหารที่เราแนะนำสำหรับจาน [Cuisine] แท้ ๆ ตั้งแต่เมนูคลาสสิกไปจนถึงการปรับเปลี่ยนที่สร้างสรรค์. Title: [City] ร้านอาหาร [Cuisine] ที่ดีที่สุด Description: สัมผัสรสชาติที่มีชีวิตชีวาของ [Cuisine] ใน [City] ที่ซึ่งประเพณีพบกับนวัตกรรม รายชื่อร้านอาหาร [Cuisine] ชั้นนำที่เราคัดสรรมาให้คุณจะพาคุณเดินทางผ่านประสบการณ์การรับประทานอาหารในใจกลาง [City] เพลิดเพลินกับอาหารแท้ ๆ ที่ปรุงด้วยวัตถุดิบสดใหม่และความรัก ไม่ว่าคุณจะเป็นคนในพื้นที่หรือเพียงแค่มาเยี่ยมชม ร้านอาหารเหล่านี้รับรองว่าจะมอบประสบการณ์การรับประทานอาหารที่น่าจดจำ สำรวจคำแนะนำของเราเพื่อค้นหาสถานที่โปรดแห่งใหม่ของคุณ

Chinese (CN)

Meta Title: [City] 最佳 [Cuisine] 餐厅就在我附近 | Hungry Hub Meta Description: 发现 [City] 最好的 [Cuisine] 餐厅。探索我们精选的正宗 [Cuisine] 菜肴,从经典美食到创新佳肴,应有尽有。 Title: [City] 最佳 [Cuisine] 餐厅 Description: 在 [City] 体验 [Cuisine] 的丰富风味,这里传统与创新交融。我们精心挑选的 [Cuisine] 顶级餐厅名单将带您踏上一场美食之旅,深入 [City] 的核心地带。享受用新鲜食材和爱心烹制的正宗菜肴。无论您是本地人还是游客,这些餐厅都能为您带来难忘的用餐体验。探索我们的推荐,找到您新的最爱之地。

Dining style

Thai (TH)

Meta Title: [City] ร้านอาหาร [Dining Style] ที่ดีที่สุดใกล้ฉัน | Hungry Hub Meta Description: เพลิดเพลินกับประสบการณ์ที่ร้านอาหาร [Dining Style] ที่ดีที่สุดใน [City] ค้นหาร้านที่เราแนะนำสำหรับประสบการณ์ [Dining Style] ที่น่าจดจำ Title: [City] ร้านอาหาร [Dining Style] ที่ดีที่สุด Description: สัมผัสประสบการณ์ที่ดีที่สุดของการรับประทานอาหาร [Dining Style] ใน [City] ที่บรรยากาศหรือสภาพแวดล้อมมาบรรจบกัน รายชื่อร้านอาหาร [Dining Style] ชั้นนำที่เราคัดสรรมาให้คุณจะนำเสนอประสบการณ์ที่ดีที่สุดซึ่งผสมผสานกับอาหารโปรดของคุณ ไม่ว่าคุณกำลังมองหาสิ่งที่เป็นเอกลักษณ์ ร้านเหล่านี้รับรองว่าจะมอบประสบการณ์ [Dining Style] ที่น่าจดจำ สำรวจคำแนะนำของเราเพื่อค้นหาสถานที่ [Dining Style] ใหม่ที่คุณชื่นชอบใน [City]

Chinese (CN)

Meta Title: [City] 最佳 [Dining Style] 餐厅就在我附近 | Hungry Hub Meta Description: 在 [City] 最好的 [Dining Style] 餐厅中享受您的用餐体验。发现我们精选的难忘 [Dining Style] 体验 Title: [City] 最佳 [Dining Style] 餐厅 Description: 在 [City] 体验最好的 [Dining Style] 用餐,这里氛围与气氛交融。我们精心挑选的 [Dining Style] 顶级餐厅名单将为您提供最好的体验,将您最喜欢的美食融合其中。不论您在寻找独特的体验,这些餐厅都能为您带来难忘的 [Dining Style] 体验。探索我们的推荐,找到您在 [City] 新的最爱 [Dining Style] 地点。