Redirect after Login on WordPress

后端 未结 13 3037
我寻月下人不归
我寻月下人不归 2020-12-04 11:26

I\'m creating a customized WordPress theme based on an existing site.

I want to use an alternate dashboard which I have created.

How can I have the user dire

13条回答
  •  醉酒成梦
    2020-12-04 12:11

    To globally redirect after successful login, find this code in wp-login.php, under section.

       

    and replace with your URL where you want to redirect. The URL must start with http:// and ends on /other wise page redirect to default location.

    Do same thing form redirect after registration with in same file but under section.

提交回复
热议问题