Skip to main content

Pretty Conversational form url slug (Include this setting within the plugin )

Could you please include this option directly within the plugin?

Itโ€™s quite inconvenient to run it via a snippet. Also, it would be great if the design and share URL could update automatically as changes are made.
https://fluentforms.com/docs/creating-pretty-conversational-form-url-slug/

Pretty Conversational form url slug (Include this setting within the plugin ) Pretty Conversational form url slug (Include this setting within the plugin )

The reason we made that available via hook is for performance. As we don't know what the custom slug you need is and if we want to provide an option, it needs to be queried and run on every request, which is a bit expensive (for the server).

Manoj Sharma

Shahjahan Jewelย we are already using a slug, all we want to do is change it and there is a process for it already, all we want to do is make it within the forms plugin,

Manoj Sharma

โœ… Suggested Feature: Native Slug Customization for Conversational Forms

Feature Name:ย Pretty URL Slug Settings for Conversational Forms

Goal:

Allow users to set a custom slug for conversational forms directly within Fluent Formsโ€™ settings panelโ€”no need to touchย functions.phpย or add custom code snippets.


๐Ÿ”ง How It Would Work:

1.ย 

Global Setting (Settings > Conversational Forms Tab)

Add a simple field:

  • Label:ย โ€œCustom Slug for Conversational Form URLsโ€
  • Input Field:ย Text input (default:ย fluent-form)
  • Tooltip:ย โ€œThis will replace the defaultย ?fluent-form=IDย URL with a prettier structure likeย /my-forms/123. Make sure to re-save permalinks after changing this.โ€

โœ… Automatically call the rewrite logic on save

โœ… Programmatically re-save permalinks or display a notice prompting the user to re-save


2.ย 

Optional Per-Form Override (under individual conversational form settings)

Add an optional override:


๐Ÿง  Developer Considerations

  • Move theย customFfLandingPageSlug()ย logic into the Fluent Forms core, encapsulated in a service class or helper.
  • Avoid breaking current behavior by detecting if the feature is enabled.
  • Auto-trigger aย flush_rewrite_rules()ย when the setting changes.

๐Ÿ“ Benefits

  • Non-technical users can set custom slugs easily.
  • Centralized control from the Fluent Forms admin panel.
  • More polished UX with branded/cleaner URLs.