Skip to content

Custom Landing Pages PRO ​

Destination / Activity / Category form — Landing Page picker added by this module

By default, the destination archive (/destination/nepal/) renders a basic catalog of every trip in that destination. With Custom Landing Pages enabled, you can point any WordPress page — built with your usual page builder — to act as the destination, activity, or category landing instead. Use it for SEO-optimised pages, paid-traffic landing pages, partner co-branded pages, or just to ditch the default template.

What you'll need ​

ThingWhere to get it
Yatra Pro licenseYatra → License
Custom Landing Pages module enabledYatra → Modules → Custom Landing Pages
A taxonomy term to customiseA destination, activity, or trip category you've already created.
A WordPress page built and publishedAny page — Gutenberg, Elementor, Bricks, Divi, your favourite page builder.

Step 1 — Enable the module ​

  1. Open Yatra → Modules.
  2. Find Custom Landing Pages → toggle on.
  3. A new Landing page picker appears on the edit form of every Destination, Activity, and Trip Category.

Step 2 — Build the WordPress page ​

Build a normal WordPress page in your page builder of choice. Useful blocks / shortcodes to drop in:

  • [yatra_trip destination="12" per_page="9"] — render a filtered trip grid (destination takes destination IDs).
  • [yatra_search] — drop the trip search box.
  • [yatra_destination destination="12"] — render the destination's own card.

See Shortcodes for the full list.

Publish the page. Note its URL (e.g. /discover-nepal/).

  1. Open Yatra → Destinations (or Activities / Categories).
  2. Click the term you want to customise (e.g. Nepal).
  3. Scroll to the Landing page field — searchable dropdown of every published WordPress page.
  4. Pick your page → Save.

Destination edit screen — Landing Page picker with the chosen page

Step 4 — Verify ​

  1. Open /destination/nepal/ in a private browser window.
  2. Yatra now 301-redirects to your custom page at /discover-nepal/ (only page 1 of the archive is redirected; the page must be published).
  3. Catalog links elsewhere on the site (the trip list, the destination card on the trip page, etc.) also point at the new URL.

If you visit the original /destination/nepal/ URL directly, the redirect is in place — you won't see the default archive any more for that destination.

What changes when the module is on ​

SurfaceBefore moduleAfter module + landing page assigned
Destination archive /destination/nepal/Default Yatra templateRedirects to your custom WordPress page
Destination card link on a trip's public pageDefault archive URLCustom page URL
Activity archive /activity/hiking/Default Yatra templateRedirects to your custom page (when assigned)
Trip category archive /trip-category/adventure/Default Yatra templateRedirects to your custom page (when assigned)
Sitemap.xmlDefault archive URLsCustom page URLs
Open Graph + Twitter Card meta for sharingDefault archive metaYour custom-page meta (from your SEO plugin)

You can selectively customise

You don't have to override every destination / activity / category. Leave the Landing page field empty for terms where the default archive is fine.

Common patterns ​

Use caseSetup
Marketing-driven destination landingPage with hero, value props, testimonials, embedded [yatra_trip destination="12"] shortcode.
Partner co-brand page (white-label deal)Page with partner's logo + curated trip grid + custom CTA. Restrict via WP role-based plugin if you need access control.
Paid-traffic / Google Ads landingSingle trip campaign page with a Book now button linking to the trip directly above the fold.
SEO-optimised "Best of Nepal" content pieceLong-form article + [yatra_trip destination="12" featured_priority="featured"] further down the page.

Troubleshooting ​

Visitors still see the default archive — confirm the module is enabled AND the destination has a Landing page picked. Clear any caching plugin (the redirect uses WordPress 301s and gets cached aggressively).

Redirect loops — your custom page's slug overlaps with the default archive slug. Avoid naming your page /destination/nepal/ or change the destination base under Settings → Permalink.

Trip cards still link to /destination/... — Yatra caches taxonomy link rendering for performance. Re-save the destination, OR run a permalink flush (Settings → Permalinks → Save).

Page content is missing trip listings — make sure the [yatra_trip ...] shortcode is rendered (not displayed as plain text). Some block themes break shortcode rendering inside Group blocks; use a Shortcode block directly.

  • Settings → Permalink — change the base slugs for destinations / activities / categories.
  • Shortcodes — the full list of [yatra_*] shortcodes you can drop into your custom page.
  • Hooks & filters — yatra_destination_permalink, yatra_activity_permalink, yatra_category_permalink.

Where to read more ​