Title: Redirection issue
Last modified: July 25, 2020

---

# Redirection issue

 *  Resolved [gooalgenie](https://wordpress.org/support/users/gooalgenie/)
 * (@gooalgenie)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/redirection-issue-31/)
 * Hey Team,
 * Your plugin is Fab and integrates very well but I am facing this redirection 
   issue
 * When I click to Buddypress Profile tab it should open buddy press profile view
   tab rather it directly opens woocommerce my account orders tab.
 * After trying all your plugin settings Additionally, I tried following codes to
   fix the issue:
 * /** Woocommerce redirect from woo dashboard to orders tab Start **/
    add_action(‘
   template_redirect’, ‘tab_redirect_to_orders_from_dashboard’ ); function tab_redirect_to_orders_from_dashboard(){
 *  if( is_account_page() && empty( WC()->query->get_current_endpoint() ) ){
    wp_safe_redirect(
   wc_get_account_endpoint_url( ‘orders’ ) ); exit; } } /** Woocommerce redirect
   from woo dashboard to orders tab end **/
 * /** Buddypress redirect to profile tab Start **/
    add_filter( ‘bp_login_redirect’,‘
   bpdev_redirect_to_profile’, 11, 3 ); function bpdev_redirect_to_profile( $redirect_to_calculated,
   $redirect_url_specified, $user ){ if( empty( $redirect_to_calculated ) ) $redirect_to_calculated
   = admin_url(); //if the user is not site admin,redirect to his/her profile if(
   isset( $user->ID) && ! is_super_admin( $user->ID ) ) return bp_core_get_user_domain(
   $user->ID ); else return $redirect_to_calculated; /*if site admin or not logged
   in,do not do anything much*/ } /** Buddypress redirect to profile tab End **/
 * Can you help me figure out what possibly be the issue or how can it be fixed?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fredirection-issue-31%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [gooalgenie](https://wordpress.org/support/users/gooalgenie/)
 * (@gooalgenie)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/redirection-issue-31/#post-13169044)
 * Hey Team,
 * Just in case to get more clear understanding:
 * **ISSUE VIDEO for clear understanding** – [https://www.awesomescreenshot.com/video/482017?key=8cf435fcabffae6feae871a73f3de707](https://www.awesomescreenshot.com/video/482017?key=8cf435fcabffae6feae871a73f3de707)
 * **Additional Notes:**
 * 1. WooCommerce is installed
    2. Buddy press is installed 3. Buddycommerce is 
   also installed
 * Thanks,
    Vicky
 *  Plugin Author [BuddyDev](https://wordpress.org/support/users/buddydev/)
 * (@buddydev)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/redirection-issue-31/#post-13170846)
 * Hi Vicky,
    Thank you for the video. It helped.
 * I tested the plugin today with latest WordPress, WooCommerce , BuddyPress and
   storefront theme and I do not see any issue.
 * If you are not using any 3rd party plugin, Prom the description of your problem,
   It seems to be a configuration issue.
 * Please try the same with default theme and only (and rename bp-custom.php if 
   present).
    WooCommerce/BuddyPress/BuddyCommerce. If it is still happening, It
   is definitely a configuration issue. Please share the configuration and we will
   assist.
 * Regards
    B
 *  Plugin Author [BuddyDev](https://wordpress.org/support/users/buddydev/)
 * (@buddydev)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/redirection-issue-31/#post-13205367)
 * Marking resolved. Please feel free to reopen if you still need the support.
 * Regards
    B

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirection issue’ is closed to new replies.

 * ![](https://ps.w.org/buddycommerce/assets/icon-256x256.png?rev=2078975)
 * [BuddyCommerce: WooCommerce and BuddyPress Integration](https://wordpress.org/plugins/buddycommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddycommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddycommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/buddycommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddycommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddycommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [BuddyDev](https://wordpress.org/support/users/buddydev/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/redirection-issue-31/#post-13205367)
 * Status: resolved