Support

Account

Home Forums Front-end Issues How do I change the redirect after creating a new post via front-end? Reply To: How do I change the redirect after creating a new post via front-end?

  • Ah, I see, then you’re doing it right according to the ACF4 documentation

    but that still looks odd to me, why not get the permalink for the post you just created and set it to that? You’ll have to excuse my ignorance, I’ve never tried it before but it seems like this should work

    
    $url - get_permalink($post_id);
    $_POST['return'] = $url);
    

    but I could be wrong.