Title: Thank You Redirect for Gravity Forms
Author: Zayed Baloch
Published: <strong>September 24, 2026</strong>
Last modified: September 24, 2026

---

Search plugins

![](https://ps.w.org/thank-you-redirect-for-gravity-forms/assets/banner-772x250.
png?rev=3710578)

![](https://ps.w.org/thank-you-redirect-for-gravity-forms/assets/icon-256x256.png?
rev=3710578)

# Thank You Redirect for Gravity Forms

 By [Zayed Baloch](https://profiles.wordpress.org/zayedbaloch/)

[Download](https://downloads.wordpress.org/plugin/thank-you-redirect-for-gravity-forms.1.0.2.zip)

 * [Details](https://wordpress.org/plugins/thank-you-redirect-for-gravity-forms/#description)
 * [Reviews](https://wordpress.org/plugins/thank-you-redirect-for-gravity-forms/#reviews)
 *  [Installation](https://wordpress.org/plugins/thank-you-redirect-for-gravity-forms/#installation)
 * [Development](https://wordpress.org/plugins/thank-you-redirect-for-gravity-forms/#developers)

 [Support](https://wordpress.org/support/plugin/thank-you-redirect-for-gravity-forms/)

## Description

Thank You Redirect for Gravity Forms is a Gravity Forms Feed Add-On. Each form gets
its own configuration under Forms  Settings  Thank You Redirect:

 * Enable/disable the Thank You flow per form (disabled = existing confirmation 
   untouched)
 * Published WordPress page selector for the Thank You page (auto-resolves WPML 
   translations)
 * Redirect back to: Submission Source URL, Current Form Page, or Custom URL
 * Auto-redirect toggle, 1–60 second delay, return button with custom text
 * Custom success title, success message and redirect message

Place the `[gf_thank_you]` shortcode on the Thank You page. After submission the
visitor is redirected there, sees a professional confirmation with a live countdown,
and returns to the original page. Works with AJAX and non-AJAX forms, Gutenberg,
Elementor, UX Builder, shortcodes and reusable blocks.

Security: the redirect carries only an opaque short-lived token. The real return
URL lives server-side in a transient (30 minutes), user-influenced destinations 
are restricted to the current site via `wp_validate_redirect()` plus a host check,
and all output is escaped. No entry data is stored or logged.

WPML is optional: with WPML active the Thank You page resolves to its translation
and strings are translatable; without it the plugin works in the site default language
with RTL inherited from the theme.

### Privacy

This plugin does not collect, track, or transmit any data. It creates no database
tables, sends no HTTP requests to external servers, and includes no analytics.

Per form submission it stores a single short-lived transient (30 minutes, deleted
on first use) containing only the validated return URL, countdown settings, and 
display texts needed to render the Thank You page. No form entry values, names, 
email addresses, or other personal data are stored or logged.

## Installation

 1. Install and activate Gravity Forms (required).
 2. Upload the `thank-you-redirect-for-gravity-forms` folder to `/wp-content/plugins/`
    and activate it from Plugins.
 3. Create a WordPress page named “Thank You” and add the `[gf_thank_you]` shortcode
    to it.
 4. Translate the page with WPML if required (no extra configuration needed).
 5. Open Forms  your form  Settings  Thank You Redirect.
 6. Add a feed, check “Enable Thank You Redirect”, select the Thank You page, configure
    the delay, and save.

No `functions.php` changes and no hardcoded form IDs are needed.

## FAQ

### Does it work with multiple forms?

Yes. Each form has its own feed(s) with independent settings. Form A can use Thank
You page A with a 5s delay while Form B uses page B with 10s, and Form C can have
the feed disabled (its normal confirmation is preserved).

### Does it work with AJAX forms?

Yes. The add-on returns a `redirect` confirmation, which Gravity Forms core converts
to an HTTP redirect for normal forms and a JS redirect for AJAX forms automatically.

### How is the return URL secured?

The redirect URL contains only an opaque 32-character token. The return URL is stored
server-side in a transient and the token is single-use: it is deleted the first 
time the Thank You page resolves it, so Thank You URLs cannot be replayed. Source-
derived URLs must be same-site (enforced with `wp_validate_redirect()` and a host
comparison); external destinations additionally require the “Allow external redirect
URLs” opt-in, which is off by default. Visitor-supplied URLs can never redirect 
off-site. The front-end JS re-validates same-origin before redirecting.

### What happens with multiple feeds on one form?

Feeds are evaluated in feed order (then feed ID), and the first active, enabled 
feed whose conditional logic matches wins. Feeds belong to exactly one form, so 
forms can never share feeds.

### Does enabling the feed override conditional confirmations?

Yes, by design: when an enabled feed matches, its Thank You redirect takes precedence
over the form’s text/page/redirect confirmations (including conditional ones). When
no enabled feed matches, the original confirmation is preserved byte-for-byte.

### How does WPML support work?

The selected Thank You page ID is resolved per request via the `wpml_object_id` 
filter for the current language (`wpml_current_language`). No per-language configuration
is needed. If a translation does not exist, WPML returns the original page. A basic
Polylang fallback (`pll_get_post`) is included. All strings use the `thank-you-redirect-
for-gravity-forms` text domain. RTL comes from the theme (`is_rtl()`); all CSS uses
logical properties scoped to `.gftr-thank-you`.

### What happens if the Thank You page is deleted?

The submission still succeeds; the form falls back to its original Gravity Forms
confirmation. An invalid return URL falls back to the site home URL.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Thank You Redirect for Gravity Forms” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Zayed Baloch ](https://profiles.wordpress.org/zayedbaloch/)

[Translate “Thank You Redirect for Gravity Forms” into your language.](https://translate.wordpress.org/projects/wp-plugins/thank-you-redirect-for-gravity-forms)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/thank-you-redirect-for-gravity-forms/),
check out the [SVN repository](https://plugins.svn.wordpress.org/thank-you-redirect-for-gravity-forms/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/thank-you-redirect-for-gravity-forms/)
by [RSS](https://plugins.trac.wordpress.org/log/thank-you-redirect-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.2

 * Updated readme.txt

#### 1.0.1

 * Minor fixes

#### 1.0.0

 * Initial release: feed add-on, secure token context, shortcode, countdown, WPML/
   RTL support.

## Meta

 *  Version **1.0.2**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [countdown](https://wordpress.org/plugins/tags/countdown/)[gravity forms](https://wordpress.org/plugins/tags/gravity-forms/)
   [redirect](https://wordpress.org/plugins/tags/redirect/)[thank you page](https://wordpress.org/plugins/tags/thank-you-page/)
   [wpml](https://wordpress.org/plugins/tags/wpml/)
 *  [Advanced View](https://wordpress.org/plugins/thank-you-redirect-for-gravity-forms/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/thank-you-redirect-for-gravity-forms/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/thank-you-redirect-for-gravity-forms/reviews/)

## Contributors

 *   [ Zayed Baloch ](https://profiles.wordpress.org/zayedbaloch/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/thank-you-redirect-for-gravity-forms/)