Login redirect

7.29K viewsGeneral
1

after users login it goes to /wp-admin which is restricted

0

Hi Rahul,

Sorry to disturb you, i’m not really expert. I try to add you code on my function.php theme. I use Sahifa and TwelveTweety theme, but noting change. Maybe i do something wrong. Did i need to change the red color link on your code ?

I really appreciate your help.

Cordially Philippe

Replace add_filter(‘login_redirect’, ‘my_redirect_to_ap_base_page’); with add_filter(‘login_redirect’, ‘my_redirect_to_ap_base_page’, 1);

You are viewing 1 out of 3 answers, click here to view all answers.