WP Manifestindependent plugin directory
manifest / seo / custom-addon-for-permalink-manager

Permalink Manager Lite Addon

Wordpress | Permalink Manager | Addon

by Ajdev · github.com/devweb414/custom-addon-for-permalink-manager

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/devweb414/custom-addon-for-permalink-manager/archive/refs/heads/main.zip

Permalink Manager Custom Addon

The Problem

When using Permalink Manager Lite (or Pro) alongside the Redirection plugin, you may encounter a disconnect in how URL changes are handled:

  1. No Automatic Redirects: If you change a custom permalink (URI) for a post or page using Permalink Manager, the old URL simply stops working. Permalink Manager itself does not automatically create a 301 redirect from the old custom URI to the new one.
  2. Manual Work Required: To preventing 404 errors, you would typically have to manually go into the Redirection plugin and create a redirect every time you update a permalink.
  3. Redirect Chains: Managing these manually can lead to messy redirect chains (e.g., A -> B, then B -> C) if you aren't careful to clean up previous redirects.

The Solution

This custom addon acts as a bridge between Permalink Manager and the Redirection plugin.

Key Features

  • Automatic Redirect Creation: Whenever you update a post's URI in Permalink Manager, this addon automatically creates a 301 redirect for the old URI pointing to the full, absolute new URL (including domain) in the Redirection plugin.
  • Language & Domain Support: It intelligently preserves language prefixes (e.g., /fr/old-slug to /fr/new-slug) by analyzing the full permalink structure.
  • Redirect Updates: If a redirect already exists for the old path, it updates it instead of creating a duplicate.
  • Chain Prevention: It attempts to clean up old redirect chains (e.g., if you change A -> B, and then B -> C, it ensures the final result is efficient).

Requirements

  • Permalink Manager Lite (or Pro)
  • Redirection plugin
  • WordPress