How to Redirect Your Students to a Custom URL upon Logout

Do you want to give your users a smooth login / logout experience, skipping WordPress’ ugly default pages?

You can customize this experience and make sure your students never see WordPress’ default pages when logging in and out of your platform, they will only see your website.

There are two ways to accomplish this:

The Simple Way

1. Download the Peter’s Login Redirect plugin here.

2. Add it to your WordPress site going to Plugins in the sidebar -> Add New and dragging the file there to be added.

3. Once the plugin is installed and active, go to Settings -> Login/Logout redirects in the sidebar.

4. You can set up your redirect rules there.

A More Advanced Alternative

1. Go to your theme’s function.php file.

2. Use the appropriate snippet to redirect users to your homepage or to a custom link:

 

in FAQ’s

Related Articles