Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile Redirect -I will Pay up to $100 for a solution-

  • @webmagus

    Participant

    Ive searched everywhere and tried everything I found to redirect the BBPress profile and before I will give up I thought to make a request in this forum.

    Ive tried this in the .htaccess with no success:

    RewriteEngine on
    RewriteRule ^forums/users/(.*)/?$ http://www.mysite.com/dashboard/listings/$1 [L,R=301]

    Ive tried the Redirection WP plugin and its redirecting the forums/users/(.*)/ where I want but it is also redirecting http://www.mysite.com/forums/users/favorites/ and all the profile links and I DO NOT want this since my idea is to redirect the BBPress profile into a main profile and link the favorites and the topics started from there.

    Ive also found this code but I cant get it to work:

    add_action(‘bb_init’, ‘profile_redirect’);
    
    function profile_redirect() {
    
    if (is_bb_profile() && $_GET != ‘edit’ && $_GET != ‘favorites’) {
    
    $user = bb_get_user($_GET);
    
    if ($user) wp_redirect(“http://www.example.com/members/” . $user->user_nicename);
    
    }
    
    }

    Please help me to do this and I am willing to pay up to $100 for a working solution but I need it as soon as possible.

Viewing 1 replies (of 1 total)
  • @webmagus

    Participant

    I may also submit this request in freelancing sites and put the links here for people who may be able to work this out and I will also share the solution here if I find one. If you prefer some freelancing site please post it here.

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