Permalink Manager Lite

Description

Permalink Manager is a permalink plugin that allows users to adjust URLs for posts, pages, and custom post types (categories, tags and custom taxonomies are supported in Pro version).

Unlike the built-in WordPress permalink system, which only allows modifications to the last part of the URL, known as the « slug », the Permalink Manager lets you change each individual URL whatever you like.

Following permalink customization, the old URLs will automatically redirect to the new addresses in order to prevent 404 or duplicate content issues.

Documentation | Acheter Permalink Manager PRO

The plugin works with all custom post types and taxonomies, as well as many popular third-party plugins like as WooCommerce, Yoast SEO, WPML, and Polylang.

Fonctionnalités

  • Edit the individual permalinks as you choose
    For a consistent and SEO-friendly URL structure, you may customize and change the permalink of each post, page, and custom post type item. Categories, tags & custom taxonomies terms permalinks can be edited in Permalink Manager Pro.
  • Modifier des URL en bloc à l’aide de formats de permalien
    Afin d’accélérer le processus de modification d’URL en bloc, l’extension vous permet de choisir le format par défaut pour les URL personnalisées en utilisant les réglages « Permastructures ». Le nouveau format sera appliqué automatiquement lorsqu’un nouvelle publication/terme est ajouté ou une fois que les anciens permaliens sont régénérés.
  • Custom post types support
    You may easily remove post type rewrite (base) slugs from your WordPress permalinks, for example. The plugin may be configured to filter just specified post types and taxonomies permalinks, excluding the rest of your content types.
  • Translate permalinks
    If you have the WPML or Polylang plugins installed on your website, Permalink Manager allows you to translate the slug and specify different permalink format/structure for each language.
  • Remove parent slugs
    Looking for a simple solution to shorten lengthy, hierarchical URL addresses? The plugin may be used to remove parent slugs from WordPress permalinks.
  • Add category slug to post permalinks
    Do you want to add category slugs in your post permalinks? Permalink Manager is the most convenient way to create a silo structure for your URL addresses.
  • Redirection automatique des anciennes URL
    Une ancienne URL (d’origine) est automatiquement transférée vers une URL mise à jour pour éviter l’erreur 404 et améliorer l’expérience utilisateur/utilisatrice.

Fonctionnalités supplémentaires disponibles dans Permalink Manager PRO

The free version covers all the necessary functions, while the premium version adds a few handy functionalities that can improve the process of adjusting WordPress permalinks.

Click here for additional information and to purchase Permalink Manager Pro.

  • Prise en charge des taxonomies
    Les taxonomies sont entièrement prises en charge dans la version PRO (catégories, étiquettes et taxonomies personnalisées). Vous pouvez ajuster les permaliens de termes individuels ou les modifier tous en même temps à l’aide de « Permastructures ».
  • WooCommerce support
    Permalink Manager Pro may be used to change the URL addresses of WooCommerce products, tags, categories, and attributes. For example, you may use the plugin to remove /product/ and /product-category/ from WooCommerce URL.
  • Prise en charge des champs personnalisés
    Seul Permalink Manager permet d’ajouter des champs personnalisés aux permaliens WordPress sans avoir besoin de compétences techniques de la part de l’utilisateur/utilisatrice.
  • Redirections supplémentaires
    Vous pouvez définir des redirections 301 supplémentaires (alias) pour n’importe quelle publication, page ou terme. En outre, vous pouvez attribuer une URL de redirection à chaque publication/terme, ce qui amènera les utilisateurs/utilisatrices à n’importe quelle adresse URL externe. Pour chaque élément, les URL de redirection peuvent être spécifiées séparément.

Captures d’écran

  • Éditeur d’URL de permalien.
  • Éditeur d’URL de permalien dans Gutenberg.
  • Outil « Rechercher et remplacer ».
  • Outil « Régénérer/Réinitialiser ».
  • Une liste des publications mises à jour après la régénération des permaliens.
  • Réglages de permastructure.
  • Réglages de permastructure (structure de permalien différente par langue).
  • Réglages de Permalink Manager.

Installation

Allez à Extensions -> Ajouter et recherchez Permalink Manager.

Vous pouvez également installer l’extension manuellement :

  1. Téléchargez l’archive ZIP de l’extension et décompressez-la.
  2. Téléversez le dossier permalink-manager complet dans le répertoire /wp-content/plugins/.
  3. Activez l’extension via le menu « Extensions » dans WordPress.

Éditeur d’URL en masse

Une fois l’extension installée et activée, vous pouvez accéder à son tableau de bord à partir de cette page : Outils -> Permalink Manager.

Éditeur d’URL unique

Pour afficher la boîte méta de l’éditeur d’URL, cliquez sur le bouton gris « Éditeur de permalien » affiché sous le titre de la publication/page.

FAQ

Can I use the plugin to edit the category permalinks?

Cette fonctionnalité est disponible uniquement dans Permalink Manager PRO.

Is it possible to use Permalink Manager on large websites?

When the Permalink Manager was first designed, it was supposed to be used for a typical WordPress website, which usually has less than a few thousand subpages. As a result, all custom permalinks are saved in a single row in the database in order to avoid slowing down the pageload with multiple SQL queries to the database. This is the most effective approach for small and medium-sized websites, without affecting site speed.

While this data structure works for the vast majority of WordPress sites, it may not be optimal if you want to use the plugin to rewrite tens of thousands of permalinks. What works well for a smaller website may not scale well for a megasite. When the number of addresses on your site exceeds tens of thousands, the custom permalinks array may become quite huge, and any operations on it can have an effect on pageload time.

To summarize, the plugin is suitable for small and medium-sized websites. It will not slow down your pageload time or affect its usability in any way. However, if you want to use it on a much bigger website with thousands of permalinks (more than 60.000), please consider excluding content types that do not require customized permalink format in order to lower the custom permalinks array. For further details on the plugin’s performance, please visit this post.

Puis-je définir différents formats de permalien pour chaque langue.

Oui, c’est possible si vous utilisez WPML ou Polylang. Vous pouvez trouver les instructions complètes ici.

Will the old permalink automatically redirect the new ones?

Yes, Permalink Manager will automatically redirect the native permalinks (used when the plugin is disabled, or before it was activated) to the actual, custom permalinks.

Cette extension est-elle compatible avec Buddypress ?

Currently, there is no 100% guarantee that Permalink Manager will work correctly with Buddypress.

Can I remove the plugin after the permalinks are updated?

Oui, si vous avez utilisé Permalink Manager uniquement pour régénérer les identifiants d’URL (noms de publication natifs). Veuillez noter que si vous utilisez des permaliens personnalisés (qui diffèrent des permaliens natifs), ils ne seront plus utilisés après la désactivation de l’extension.

It is because Permalink Manager overwrites one of the core WordPress functionalities to bypass the rewrite rules (« regular expressions » to detect the posts/pages/taxonomies/etc. and another parameters from the URL) by using the array of custom permalinks (you can check them in « Debug » tab) that are used only by the plugin.

Avis

12 février 2024
For me too, it’s a 5-star without the slightest hesitation. The plugin keeps all its promises. I bought the PRO version, and I don’t regret it. The support is incredibly efficient, as well as being very kind and extremely responsive! What more could I ask for !
12 décembre 2023
Five stars for this plugin! I stumbled upon this plugin on Twitter and decided to give it a try. This is the only permalink plugin I have found so far that works properly on my multilingual website that has Polylang installed.
Lire les 162 avis

Contributeurs/contributrices & développeurs/développeuses

« Permalink Manager Lite » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Permalink Manager Lite” a été traduit dans 4 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Permalink Manager Lite » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

2.4.3.3 (May 16, 2024)

  • Dev – Optimization of « Permalink_Manager_Core_Functions::fix_pagination_pages »
  • Dev – The canonical redirect function has been improved to fully handle the « /page/1 » and « /1/ » endpoints as well as the « p », « page_id », and « name » query parameters in URLs
  • Fix – The plugin may save the native slug for « draft » posts and pages even if WordPress has not generated it yet
  • Fix – « Customize URL » in the admin toolbar works now correctly also for categories, and custom taxonomies
  • Fix – « Auto-update mode » is now respected in Advanced Translation Editor (WPML)

2.4.3.2 (March 18, 2024)

  • Fix – Further security improvements for AJAX functions and « Bulk Tools »
  • Dev – Minor code improvements

2.4.3.1 (February 12, 2024)

  • Fix – Security fix for Permalink_Manager_Actions->ajax_detect_duplicates() function
  • Dev – Minor code improvements

2.4.3 (February 6, 2024)

  • Fix – Code refactoring and optimization
  • Fix – Minor improvements for RankMath redirection hooks
  • Enhancement – Improvements for « Force 404 on non-existing pagination pages » functionality
  • Enhancement – The « Regenerate/reset » & « Find/replace » now can be used in preview mode without saving the changes
  • Dev – New filter hooks – « permalink_manager_pre_update_post_uri » & « permalink_manager_pre_update_term_uri »
  • Dev – Support for translated « page » endpoint in Polylang Pro
  • Dev – Support for primary terms controlled by All In One SEO Pro

2.4.2 (January 9, 2024)

  • Fix – The Permalink_Manager_Helper_Functions::replace_empty_placeholder_tags() no longer decodes invalid ASCII characters
  • Fix – The old slug (« _wp_old_slug ») is now saved correctly in Block Editor (Gutenberg)
  • Dev – New ‘permalink_manager_sanitize_title’ filter is added
  • Dev – Duplicated dashes are now removed from default permalinks unless « Strip special characters » is disabled in the plugin settings
  • Dev – Minor fixes and improvements

2.4.1.6 (November 6, 2023)

  • Dev – Refactoring & minor code improvements

2.4.1.4/2.4.1.5 (September 25, 2023)

  • Enhancement – Support for « Primary category » set with SmartCrawler plugin
  • Enhancement – Partial support for Site Kit by Google plugin
  • Dev – Minor code improvements

2.4.1.3 (August 7, 2023)

  • Dev – Code refactoring
  • Fix – Fixed /feed/ endpoint support

2.4.1.2 (June 28, 2023)

  • Dev – Draft posts no longer automatically generate custom permalinks, but users may set them manually if necessary, or they will be generated when the post is published
  • Fix – Duplicated REST API calls from Gutenberg JS functions are now ignored when custom permalinks are generated
  • Fix – The ‘High-Performance order storage (COT)’ declaration for the WooCommerce has been fixed

2.4.1 (May 22, 2023)

  • Dev – The function that adds the « Permalink Manager » button via ‘get_sample_permalink_html’ filter has been updated
  • Dev – The function that controls permalink trailing slashes has been refactored and improved
  • Dev – When WPML is enabled, Permalink Manager uses « term_taxonomy_id » instead of « term_id » for language mismatch functions to avoid compatibility issues
  • Dev – To avoid problems with other 3rd party plugins, the function that places the « Permalink Manager » button below the title editor field in Classic Editor mode no longer overwrites the whole HTML
  • Enhancement – The plugin interface’s text descriptions and label names have been simplified for readability
  • Enhancement – Added new section « Exclusion settings » with a field to manually enter IDs of posts/terms to be ignored by Permalink Manager
  • Fix – The compatability problem that caused « fatal error » for some RankMath users has been resolved

2.4.0 (April 12, 2023)

  • Dev – Improved custom permalink detection function
  • Dev – Minor code improvements for the breadcrumbs filter function
  • Dev – Minor CSS changes
  • Dev – New filter added – ‘permalink_manager_excluded_element_id’
  • Dev – New filter added – ‘permalink_manager_duplicate_uri_policy’
  • Dev – Now users may select in « WPML/Polylang fix language mismatch » settings field between loading translation or triggering the canonical redirect to the detected item
  • Dev – Support for WooCommerce ‘High-Performance order storage (COT)’ declared
  • Fix – The RankMath redirection function is disabled if custom permalink is detected to prevent redirect loop
  • Fix – The « Exclude drafts & pending posts » setting field has been changed to allow for greater control in generating and editing custom permalinks for draft and pending posts

2.3.1.1 (February 16, 2023)

  • Dev – Hotfix for « Quick Edit » URI editor

2.3.1 (February 13, 2023)

  • Dev – Bulk tools (« Regenerate/Reset » and « Find & replace ») and « Quick Edit » code was refactored
  • Dev – Minor code improvements
  • Dev – New filter field – ‘permalink_manager_ate_uri_editor’
  • Dev – Improved compatibility with WPML’s Advanced Translation Editor
  • Fix – The /feed/ endpoint returns 404 error if ‘feeds’ in rewrite property of requested post type object is set to false
  • Fix – The canonical redirect is no longer forced for LearnPress front-end pages

2.3.0 (December 14, 2022)

  • Dev – For improved readability, the plugin’s code has been reformatted and more comments have been added to match WordPress PHP Coding Standards
  • Dev – To simplify the codebase, redundant functions and variables were removed
  • Fix – The post/term titles in Bulk URI Editor are protected from XSS (Cross-site scripting) attacks by sanitizing the displayed titles
  • Fix – Improved compatibility with Groundhogg plugin
  • Fix – Improved compatibility with BasePress plugin
  • Fix – Minor improvements for WPML compatibility
  • Fix – The bug that caused the message « You are not allowed to remove Permalink Manager data! » to show up randomly in the admin dashboard has been fixed

2.2.20.4 (November 23, 2022)

  • Fix – The « URI Editor » for individual term pages is now called later to ensure that all custom taxonomies are registered
  • Dev – The « nonce » field has been renamed for clarity
  • Dev – New filter added – ‘permalink_manager_get_language_code’

2.2.20.2/2.2.20.3 (November 15, 2022)

  • Fix – A nonce field has been added to debug tools code for increased security
  • Fix – The « Fix language mismatch » function now functions exactly the same way in Polylang as it does in WPML

2.2.20.1 (October 31, 2022)

  • Fix – Security fix for BAC vulnerability found in the debug function that allowed unauthorized removal of single URIs

2.2.20 (October 10, 2022)

  • Fix – The URLs with duplicated slashes (eg. example.com/sample-page////) are now handled correctly and forwarded to the canonical URL
  • Fix – The redirect problem was resolved with WPForo versions after 2.0.1
  • Dev – Improved compatibility with the WP All Import plugin functions
  • Dev – Improved compatibility with Polylang plugin
  • Dev – Better support for ACF Relationship fields
  • Dev – The plugin no longer (by default) supports custom post types & taxonomies that do not have the « query_var » and « rewrite » properties
  • Enhancement – In « Exclude drafts » mode, the URI Editor field in the « Quick Edit » section becomes « read-only » for the « Draft » posts

2.2.19.3 (August 11, 2022)

  • Dev – New filter added – ‘permalink_manager_pre_sanitize_title’
  • Fix – The old slugs are saved in the ‘_wp_old_slug’ meta key even if the native slugs are changed in the URI Editor in the Gutenberg mode.
  • Fix – Extra security check in the « Debug » section to prevent unauthorized users (CSRF) from removing the plugin’s data.

2.2.19.2 (July 8, 2022)

  • Fix – JS conflict fixed (« Cannot read properties of null (reading ‘isSavingMetaBoxes’) »)

2.2.19.1 (June 27, 2022)

  • Fix – JS conflict fixed (« Cannot read property ‘isSavingPost’ of null »)

2.2.19 (June 27, 2022)

  • Fix – The term custom permalink is now returned in the correct language
  • Fix – In Gutenberg mode, the custom permalinks are saved correctly and are not changed back to the default format (« URI Editor » is now only reloaded once the post has been saved and the metaboxes have been refreshed)
  • Enhancement – Old URIs are saved as « extra redirects » if content is updated with WP All Import
  • Dev – Additional minor improvements in code (including changes to make it work with PHP 8.1)

2.2.18 (May 18, 2022)

  • Fix – The « permalink_manager_filter_permastructure » filter can now also be used before the « Permastructure » settings are saved in the database
  • Enhancement – Improved support for RankMath breadcrumbs
  • Dev – License notification function has been improved (Permalink Manager Pro)
  • Dev – Additional minor improvements in code

2.2.17 (March 22, 2022)

  • Fix – Permalink Manager supports WPML’s « Post Types & Taxonomy Translation » settings and returns the permalink of the fallback post/term with the correct language code
  • Fix – When the auto-update mode for categories is disabled, the manually adjusted permalinks are no longer overwritten by the default ones
  • Enhancement – Permalink Manager now allows you to rewrite just chosen articles and terms while leaving the rest untouched (See ‘ »Auto-update » permalinks’ settings field)
  • Enhancement – Improved support for SEOPress breadcrumbs
  • Enhancement – « Auto-update permalinks » setting is now replaced with « URI update mode » to give users better control on how Permalink Manager generates and saves the custom permalinks
  • Dev – Additional minor improvements in code

2.2.16 (January 23, 2022)

  • Enhancement – Improved support for « Primary category » feature included in Yoast SEO
  • Enhancement – Added support for Avia/Enfold breadcrumbs filter
  • Enhancement – Further optimisation and improvements for Permalink_Manager_Core_Functions->new_uri_redirect_and_404() function
  • Fix – Permalink Manager now recognises the « Explore » listing page in MyListing theme properly

2.2.15.1 (January 14, 2022)

  • Fix – « Regenerate/reset » tool works correctly again in Permalink Manager Lite

2.2.15 (January 12, 2022)

  • Enhancement – UI Improvements for Regenerate/reset tool
  • Dev – WPML_URL_Filters->permalink_filter() hook is also used by Permalink Manager to filter custom permalinks
  • Enhancement – wp_make_link_relative() function is used to prevent redirect loops in new_uri_redirect_and_404() (suggested by mgussekloo)
  • Fix – Adjustments to the debug function’s security to prevent XSS injection

2.2.14 (October 20, 2021)

  • Enhancement – Improvements for Gutenberg Editor
  • Dev – Tippy.js (by atomiks) updated to version 6.3.2
  • Fix – From now on, the user role selected in “URI Editor role capability” is respected in “Quick Edit” box hooks (reported by @lozeone)
  • Dev – Further security improvements inside WP-Admin dashboard (reported by Vlad Vector)

2.2.13.1 (September 20, 2021)

  • Dev – Minor security improvements inside WP-Admin dashboard
  • Fix – Allow canonical redirect for default language if « Hide URL language information for default language » is turned on in Polylang settings
  • Enhancement – New settings field – « Primary category support »
  • Enhancement – « Force 404 on non-existing pagination pages » works now with archive pages

2.2.12 (August 17, 2021)

  • Dev – New filters added – ‘permalink_manager_excluded_post_ids’ & ‘permalink_manager_excluded_term_ids’
  • Dev – Additional minor changes in the codebase
  • Fix – Canonical permalinks for blog pagination is now correctly filtered (if Yoast SEO is used)
  • Fix – Better support for ‘private’ posts & pages

2.2.11 (June 24, 2021)

  • Fix – The function that automatically removes the broken URIs is no longer triggered when WP Rocket is turned on and non-logged-in user tries to access the broken URL.

2.2.10 (June 7, 2021)

  • Enhancement – New settings field – « Copy query parameters to redirect target URL » & « Extra redirects (aliases) »
  • Enhancement – UI improvements in settings section
  • Dev – Improved support for WPML’s Classic Translation Editor
  • Dev – Additional minor changes in the codebase

2.2.9.9 (April 26, 2021)

  • Fix – Hotfix for AMP WP integration

2.2.9.8 (April 26, 2021)

  • Fix – The old native slug is now correctly saved after it is changed in URI Editor.
  • Enhancement – The post type archives are now also added to the filtered breadcrumbs trail
  • Enhancement – Basic support added for WP All Export plugin
  • Enhancement – Basic support added for AMP for WP
  • Dev – (Permalink Manager Pro only) « Plugin Update Checker » by YahnisElsts library updated to 4.11 version

2.2.9.7 (March 11, 2021)

  • Enhancement – Support for WooCommerce CSV Product Importer/Exporter added
  • Enhancement – Better support for relationship field (ACF)
  • Fix – The custom redirects are now case-insensitive

2.2.9.6 (February 8, 2021)

  • Fix – Hotfix for WooCommerce coupon related functions

2.2.9.5 (February 8, 2021)

  • Fix – The custom permalink is generated properly if the product is duplicated in WooCommerce dashboard
  • Enhancement – New settings field – « Exclude drafts »
  • Enhancement – Minor code improvements

Full changelog is available here.