LeafhavenDocs
System Architecture

Export URL & Cluster Architecture

Technical Specification for 5-Dimensional Search Intent Capture, Master URL Hierarchy, Frontmatter Contracts, and Two-Way Origin Cross-Linking

Indonesian Export URL & Cluster Page Architecture

Topical Authority Mandate: International B2B buyers search with high commercial and compliance intent. A single generic product page cannot effectively rank for both an American spice grinder seeking FDA compliance and a European roaster needing EUDR satellite polygons. B2BExpo implements a 5-Dimensional Dynamic Cluster Architecture that captures search intent across product categories, value chain tiers, geographical origins, and regulatory destinations without thin content penalties.


1. The 5 Search Dimensions of International Buyers

Every page in the /export/ URL hierarchy is anchored to a clear primary intent dimension:

DimensionSearch MotivationReal Example SlugTarget Audience
1. Category & SubcategoryWhat is the commodity?/export/spices/clove/Broad category sourcing
2. Value Chain TierRaw, Intermediate, or Finished?raw_material vs intermediate vs finished_goodIndustrial processors vs retail brands
3. Sourcing IntentHow do they want to buy?clove-supplier-indonesia, patchouli-oil-manufacturer-indonesiaImporters & distributors
4. Origin TerroirWhere in Indonesia does it come from?/export/origin/aceh/, /export/origin/maluku/Specialty roasters, perfumers, single-origin buyers
5. Destination Geo & ComplianceWhat regulations apply?clove-exporter-for-us-buyers, arabica-coffee-for-eu-importersUS FDA, EUDR, CBAM, SVLK compliance teams

2. Master URL Structure & Routing Hierarchy

/export/                                                       → Master Export Hub (All Pillars & Origins)
/export/{category}/                                            → Pillar Page (National Industry Overview)
/export/{category}/{subcategory}/                              → Sub-Pillar Page (Value Chain Tiers)
/export/{category}/{subcategory}/{product-slug}/               → Cluster Page (Product + Intent / Geo)
/export/origin/{region-slug}/                                   → Origin Hub (All Commodities from 1 Region)
/export/origin/{region-slug}/{product-slug}/                    → Origin + Product Cluster (Traceability Focus)

Verified Implementation Examples


3. Strict Frontmatter & Data Schema Contract

Every cluster and origin page is backed by the typed schema in apps/web/lib/export-taxonomy.ts:

export interface ClusterPageData {
  title: string;                      // H1 + SEO Title Tag
  slug: string;                       // URL slug (lowercase, hyphen-separated)
  category: string;                   // e.g., 'spices', 'coffee-cocoa', 'coconut'
  categoryName: string;
  subcategory: string;                // e.g., 'clove', 'arabica', 'charcoal-briquettes'
  subcategoryName: string;
  value_chain_tier: 'raw_material' | 'intermediate' | 'finished_good';
  origin_region: string;              // e.g., 'aceh', 'maluku', 'jawa-tengah'
  origin_region_name: string;
  hs_code: string;                    // Harmonized System customs code (e.g., '0907.10')
  target_country: string[];           // e.g., ['us', 'eu', 'germany', 'netherlands']
  buyer_persona: BuyerPersona[];      // ['roaster', 'distributor', 'industrial']
  certifications: string[];           // e.g., ['EUDR', 'US FDA', 'Indikasi Geografis']
  geographic_indication: boolean;     // true if registered with Kemenkumham IG
  meta_description: string;
  canonical_parent: string;           // Parent sub-pillar URL
  related_origin_page: string;        // Two-way link to /export/origin/{region}
  schema_type: 'Product' | 'CollectionPage';

  // Real Commercial Parameters
  fobPriceUsd: number;
  unit: string;
  moq: string;
  specifications: Record<string, string>;
  complianceHighlights: string[];
  shippingPort: string;
  leadTime: string;
  containerOptions: string[];
  sampleAvailable: boolean;
  samplePriceUsd: number;
  dealRoomRef: string;
}

4. Mandatory Internal Linking Directives (Rules 5.1 - 5.4)

  1. Ascending Hierarchy Breadcrumbs:
    • Every cluster page renders breadcrumbs: Home > Ekspor Indonesia > Category > Subcategory > Cluster.
  2. Two-Way Cross-Linking (Category ↔ Origin):
    • On the cluster page, a dedicated banner renders: Sentra Asal: [Nama Daerah Asal] with a direct link to /export/origin/[region].
    • On the origin hub, every commodity links back to its category cluster page via "Lihat Spesifikasi Ekspor".
    • Zero Orphan Pages: Every page is automatically registered in at least one hub upon build.
  3. Sibling Cluster Navigation:
    • Subcategories render sibling clusters (e.g. from clove-supplier-indonesia to clove-exporter-for-us-buyers) to maintain reading depth.

5. Schema Markup & SERP Rich Snippets

All cluster pages automatically inject JSON-LD structured data into the HTML header:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Cengkeh Asli Maluku Lalpari Hand-Picked | Supplier Indonesia",
  "sku": "HS-0907.10",
  "countryOfOrigin": {
    "@type": "Country",
    "name": "Indonesia"
  },
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "price": 8900,
    "availability": "https://schema.org/InStock"
  }
}

This guarantees rich snippet qualification on Google Search with verified pricing, country of origin, and inventory availability.