Change the redirect link after login to wordpress website

In this post you can learn how to change the redirect link after visitors login to your wordpress website. Below is the code snippet you will have to use within your functions.php of your theme folder.




function redirect_page_link(){
$redirect_link = “your required link”; // Replace the text with the link where you want to redirect
return $redirect_link;

add_filter(“login_redirect”, “redirect_page_link”);



Please watch the video for complete understanding.

Leave a Comment