How to Redirect Users to Specific Page or Post after login into WordPress Website

Last modified date

Login-Logut-Redirect

This is the most important task and frequently asked question in internet, that how to redirect your subscriber, contributor, author, editor, and Administrator to your custom page or the URL link when they login to your WordPress website.

So you no need to have any Expert skill to integrate this function to your website, here in this content I will explain Step-by-Step how to Assign permission and redirect your WordPress users to your Custom URL link when they login to your WordPress Website.

Step 1:

Login to your WordPress website as Admin go to Dashboard-Users-Add New. Here your need to know the permission and roles of subscriber, contributor, author, editor, and Administrator before you assign them the role.

Step 2:

Enter all form fields (Username, Email, First Name, Last Name, Website and Password) in order to assign role to your created users. So I recommend you to give all unique Username and Password to avoid login problem in future.


Step 3:

Now the best part is how to redirect created users to your custom URL link when they login to your WordPress Website. So don’t break your brain to crack the php code, here I have one best WordPress plugin for you guys to redirect your User. Install and activate Peter’s Login Redirect plugin, this plugin will send your WordPress users wherever with the URL link you provide.

How to Install Peter’s Login Redirect and Redirect Users

Login to your WordPress-Dashboard,-Plugins-Add New-install Peter’s Login Redirect and Activate it. After you install and activate it, go to Dashboard-Settings click on Login/Logout Redirect.  You will see select Username, URL and Logout URL.

Here don’t get confused in select Username Drop down add user, add your custom link in URL where you want to redirect the selected user and also add Logout URL if it is necessary for you.

intactabode