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.

by Mahbub · github.com/ormahbub/wp-redirect-handler

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/ormahbub/wp-redirect-handler/archive/refs/heads/main.zip

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