This topic has 7 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #158615
     doorscomputers
    Participant

    My site is http://www.liasian8.com and I have been a problem on the facebook login. I cant find a solution so I downloaded a plugin peters login redirect. Because everytime I login usng the facebook login it redirects me to the membership level and everytime I logout it redirects me to the membership level not to the homepage. Now I used the plugin and when I logout it will drect me to the homepage.But when I login to facebook I want to direct to the profile page but I dont know what link to put in pters login redirect, dont know the link for the profile page so in the mean time I just put a link to the members area.please help how to put a link to the profile page on the plugin.thank you so much

    #158697
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #158731
     doorscomputers
    Participant

    okay thank you so much for the time. God bless

    #158972
     Radu
    Moderator

    Hi,

    If you had installed peters redirect only for redirecting users to their profiles after they login you can use this one instead of peters https://wordpress.org/plugins/bp-redirect-to-profile/

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #159011
     doorscomputers
    Participant

    Thank you that solved the problem. The only thing now is everytime I loggout it redirects me to the membership level or sometimes Im staying on same page even I logged out but I was already loggedout. I want that if I loggedout I will go back to my homepage or another page not on membership levels or the pages on my menu.please help.thank you.www.liasian8.com is the site

    #159266
     Radu
    Moderator

    Hi,

    Try to use this plugin for logout redirect

    https://premium.wpmudev.org/project/logout-redirect/

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #159283
     doorscomputers
    Participant

    Thank you for the time and help. but the plugin doesnt work on the site but I managed to do some code on functions.php for those who are having some issues too .below is the code where you will put it on your functions.php

    add_action(‘wp_logout’,’auto_redirect_after_logout’);
    function auto_redirect_after_logout(){
    wp_redirect( home_url() );
    exit();
    }

    #159472
     Radu
    Moderator

    You’re welcome

    Have a nice week
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?