WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / 3. How Booking Works / Add a Redirect URL instead of Book Now button

Add a Redirect URL instead of Book Now button

9415 views

Add a Redirect URL Instead of the Book Now Button in WPRentals

In WPRentals, you can use the Affiliate Link field to redirect the Book Now button to a custom URL.

This is useful when bookings are handled outside your website, for example on Airbnb, Booking.com, another booking platform, or a custom external booking page.

Important:
The Affiliate Link works with the standard WPRentals booking form. If the property page sidebar shows the owner contact form instead of the booking form, the Affiliate Link will not replace it with the external Book Now button.
  • How It Works
  • The Booking Form Must Be Active
  • Enable the Affiliate Link Field
  • Who Can Add or Edit the Redirect URL
  • Add the Redirect URL from Add Property or Edit Property
  • How It Shows on the Property Page
  • Important Notes
  • Related Help Articles

How It Works

The Affiliate Link field is used as a redirect URL for the Book Now button.

When a URL is added in this field:

  • The Book Now button on the property page redirects users to the URL added in the Affiliate Link field.
  • The default WPRentals booking action is replaced for that listing.
  • Users are sent to the external or custom booking page instead of sending a booking request through the theme.

You can use this option for:

  • external booking platforms
  • third-party reservation systems
  • custom contact or inquiry pages
  • direct booking pages managed outside WPRentals

The Booking Form Must Be Active

The Affiliate Link redirects the Book Now button from the standard WPRentals booking form.

If the property page sidebar shows the owner contact form instead of the booking form, the Affiliate Link will not show the external booking button.

The contact form and the affiliate redirect are two different flows:

  • Booking form active – the Affiliate Link can redirect the Book Now button to the external URL.
  • Owner contact form active – visitors see the contact form, not the external Book Now button.

To use the Affiliate Link redirect, make sure the option that replaces the booking form with the owner contact form is disabled.

This option can be enabled globally from Theme Options or individually from the property edit page.

If the owner contact form is active, reverse the setup explained in this help article:

Hide booking form and replace with owner contact form

After the standard booking form is active again, add the external booking URL in the Affiliate Link field and clear the website cache.

Enable the Affiliate Link Field

Before the Redirect URL can be added to a property, make sure the Affiliate Link field is enabled in the listing submission form.

Go to:

Theme Options → Add Listing Page & Payment Settings → Listing Submission Form

In Select the Fields for Listing Submission, enable the Affiliate Link field.



Important:
Theme Options only controls whether the Affiliate Link field is available in the Add Property / Edit Property form. The actual Redirect URL is added individually for each property.

Who Can Add or Edit the Redirect URL

The Redirect URL is managed from the front-end dashboard, inside the property form.

This applies to both:

  • site admins managing listings from the front-end dashboard
  • owners registered from the front end who manage their own listings

Admins and owners manage properties the same way from the front-end dashboard.

Then go to one of these options:

  • My Listings → Add New Listing if you are creating a new property.
  • My Listings → Edit Listing if you are updating an existing property.



Add the Redirect URL from Add Property or Edit Property

Inside the property form, go to the Description section.

Find the Affiliate Link field and add the full URL where users should be redirected.

Example URL types you can add:

  • a listing page from an external booking platform
  • a custom booking form page
  • a contact page
  • any other valid URL where users should continue the booking process



After adding the URL, save the property by clicking Update or Submit Property, depending on whether you are editing an existing listing or creating a new one.

How It Shows on the Property Page

After the Affiliate Link is saved, the property page will show the Book Now button from the standard booking form.

When visitors click Book Now, they are redirected to the URL added in the Affiliate Link field.



Important Notes

The Affiliate Link does not replace the owner contact form.

If the property page shows the owner contact form in the sidebar, disable the option that replaces the booking form with the contact form.

The correct setup is:

  • The standard booking form is active.
  • The Affiliate Link field is enabled in the listing submission form.
  • The full external URL is added in the property Affiliate Link field.
  • The website cache is cleared after the change.

Leave the Affiliate Link field empty if you want visitors to use the default WPRentals booking request flow.

Related Help Articles

Hide booking form and replace with owner contact form

Add a Redirect URL instead of Book Now button

3. How Booking Works

Related Articles

  • Send booking. Approve booking & Issue invoice or reject booking as owner. Cancel Request. Cancel confirmed booking. Pay Admin fee to confirm booking.
  • How to confirm a booking when admin deposit and service fees are 0
  • Security Deposit Fee vs Booking Deposit Fee in WPRentals
  • Booking: How to work with Deposit Fee and Service Fee

HELP CATEGORIES

  • 61. General
  • 72. Installation & Basic Setup
  • 373. How Booking Works
  • 18Advanced Search
  • 17Elementor WPRentals Studio
  • 14Email Notifications
  • 27FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 33Owner & Renter
  • 8Page Templates
  • 24Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 99Technical how to
  • 5Third Party plugins
  • 4Translation & Multi Languages
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 12WP Rentals Payments
  • 80WP Rentals Theme Options
  • 26WPML & Weglot

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API