Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Change Core Slugs

Description

Change Core Slugs is a plugin that allows you to set custom permalink slugs instead of default ones that are provided with WordPress core. This functionality is already available in WordPress, however it can be used by manually setting new configuration in the code. What this plugin does is that it provides friendly user interface where all site admins can change default slugs.

You can change:

  • author base in authors archives
  • search base in searches archives
  • page base in pagination pages of archives or in single posts
  • comments-page base in pagination pages of single posts comments
  • comments base in comments feeds
  • feed base in feeds

When you change any slug, you will not get redirection from the pages that used old slug. Same goes if you again change any slug. If you want redirection, you must set it through server rules or with other plugins.

If you disable this plugin, old, default slugs will be restored and URLs with new slugs will stop working. The only way to keep new slugs is by manually setting them in the code.

NOTE: because of two bugs in WordPress core, in some cases setting custom slugs will not work properly. These cases are when page or comments-page include any non-ASCII character (ticket #41891), or when feed or comments bases are set (ticket #43274). Until these two bugs are fixed, you can use temporary plugin that includes fixes. You do not need that plugin if you do not use features that trigger bugs from above.

And it’s on GitHub.

Usage

Got to Settings > Change Core Slugs page.

Captures d’écran

  • Change Core Slugs settings screen.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Change Core Slugs » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Change Core Slugs » 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.