WP Manifestindependent plugin directory
manifest / utilities / wp-redirect-handler

WP Redirect Handler

WP Redirect Handler allows site administrators to create multiple redirect rules based on whether a user is logged in or logged out. This is perfect for redirecting logged-in users away from the login page or restricting specific pages to guests.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ormahbub/wp-redirect-handler/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WP Redirect Handler - WordPress Plugin

A lightweight WordPress plugin to manage conditional redirects based on user login status.

Description

WP Redirect Handler allows site administrators to create multiple redirect rules based on whether a user is logged in or logged out. This is perfect for redirecting logged-in users away from the login page or restricting specific pages to guests.

Author

  • Mahbub

Features

  • Multiple Redirects: Add and manage unlimited redirect rules.
  • Conditional Logic: Trigger redirects based on "Logged In" or "Logged Out" status.
  • Easy Configuration: Simple settings page using WordPress page slugs.
  • Lightweight: Minimal impact on site performance.

Installation

  1. Download this repository as a .zip file.
  2. In your WordPress Dashboard, go to Plugins > Add New > Upload Plugin.
  3. Upload the zip file and click Install Now.
  4. Activate the plugin.

Usage

  1. Navigate to Settings > Redirect Handler.
  2. Click Add New Rule.
  3. Enter the From (Page Slug) (e.g., login).
  4. Enter the To (Full URL) (e.g., https://yourdomain.com/account/).
  5. Select the condition and click Save Changes.

License: Free