Title: another redirect problem
Last modified: August 21, 2016

---

# another redirect problem

 *  [tkhan](https://wordpress.org/support/users/tkhan/)
 * (@tkhan)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/another-redirect-problem/)
 * Hi,
 * I am trying to redirect back to the add post form which I have included in a 
   buddypress members profile page.
 * I have managed to get it to redirect back to the correct page but instead of 
   the form fields being displayed, its displaying a printout of the array that 
   has just been submitted and the post published successfully message anyone know
   how I can fix this.
 * The redirect function in my functions.php is
 * ‘function custom_redirect() {
    $author_bp_profile = bp_core_get_user_domain( 
   $user_id ). ‘/manage-projects/’; return get_permalink( $author_bp_profile ); }
   add_filter( ‘wpuf_after_post_redirect’, ‘custom_redirect’ );’
 * Cheers Tkhan
 * [https://wordpress.org/plugins/wp-user-frontend/](https://wordpress.org/plugins/wp-user-frontend/)

The topic ‘another redirect problem’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tkhan](https://wordpress.org/support/users/tkhan/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/another-redirect-problem/)
 * Status: not resolved