• The Dynamic.ooo Save Redirect to Post Object option in Elementor form redirects to default “/%post_type%/%title%” after post creation, while the custom permalink I set with permalink manager is “%post_type%/%post_id%/%title%”.

    I have tried fluent form and Acf Form they all redirects to “%post_type%/%post_id%/%title%” but Elementor form doesn’t. Please Help

Viewing 1 replies (of 1 total)
  • Plugin Author Maciej Bis

    (@mbis)

    If the problem occurs only in the admin dashboard, it might be caused by the fact that all Permalink Manager code (including functions responsible for URLs saving) is automatically disabled in order to prevent compatibility issues with Elementor editor. Unfortunately, there is no way to get around it or make it work without breaking the integration with third-party plugins 🙁

    Therefore, if a post is created directly from Elementor interface, its custom permalink will not be generated and it will still use the default URL.

    If you mean the front-end form where visitors can submit some content, you can theoretically us PHP snippet to force the custom permalink to be generated when some specific action hook is called:

    https://permalinkmanager.pro/docs/filters-hooks/custom-permalink-functions/#2-how-to-save-the-custom-permalink

    // A1. Get the default URI
    $new_uri = Permalink_Manager_URI_Functions_Post::get_default_post_uri( $post );

    // A2. Save the URI in DB
    Permalink_Manager_URI_Functions::save_single_uri( $post->ID, $new_uri, false, true );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.