The Redirect action redirects the website visitor’s browser to a chosen website address when they save or submit a form.
Adding a Redirect Action
To add a Redirect action:
- When editing your form, click the Actions icon at the top of the page. The Actions sidebar will open on the side of the page.
- Click the Add icon to add a new action.
- Select Redirect from the Action pulldown. A series of settings will appear.
As with all sidebars in WS Form, click to the Save button at the bottom to save your changes, or click Cancel to disregard your changes.
The available options are as follows:
When Should This Action Run?
You can redirect the website visitor when the form is saved, submitted, or both.
Type
There are three different types of redirect you can perform:
- URL
- Page
- Post ID
URL
Enter the URL you where you would like to redirect the website visitor to. This can be an absolute or relative URL.
For example:
- Absolute: https://wsform.com/knowledgebase/
- Relative: /knowledgebase/
WS Form variables can be used in this setting.
Page
Search for the page you want to redirect to.
Post ID
Enter the Post ID you wish to redirect to.
WS Form variables can be used in this setting.
Query String Parameters
We recommend using this setting if you need to add query string parameters to your URL. WS Form will URL encode your query string parameter values automatically by using this feature. WS Form variables can be used in the field and value settings.
To add a query string parameter:
- Click the Add icon.
- Enter a Field and Value for the query string parameter
- Repeat as necessary for each parameter
WS Form variables can be used in the Field and Value settings.
An example configuration is show below:

Exclude Blank Parameters
If checked, WS Form will strip any query string parameters from the URL that have blank values.
Enable Fallback URL
This setting enables a fallback URL in case the referring page is not suitable for redirection (e.g., a password reset page). When enabled, WS Form will check the defined conditions and redirect users to an alternative page if needed.
You can read the Redirect Users to the Referring Page After Login tutorial to learn more.
Fallback URL Conditions
Use this setting to configure the conditions that will be assessed to determine if the Fallback URL is used.
- Click the Add icon by the Fallback URL Conditions setting to add a new condition.
- In the If URL column, choose a condition, for example: Contains.
- In the Value column, enter the string to check for in the URL, for example:
reset-password - Repeat this for any other paths you want to include in the condition.
Fallback URL
The URL you wish to fallback to if a fallback URL condition is true. For example: /my-account/