Description
This plugin allows you to customize and internationalize the rewrite bases for author archives, search results, comments and page slugs in WordPress. It provides an easy-to-use interface in the Permalinks Settings page to set custom values for these bases.
If you notice that your permalink changes aren’t reflecting on your site, try the following steps:
- Go to Settings > Permalinks in your WordPress admin panel.
- Without making any changes, click the « Save Changes » button at the bottom of the page.
Key Features
- Customize rewrite bases for author, search, comments and page (pagination) slugs
- Automatically uses WordPress’s language-specific terms as defaults, if available
- Integrates seamlessly with the WordPress Permalinks Settings page
Motivation
Internationalized rewrite bases for author, search, comments and page (pagination) in WordPress are not part of the WordPress Core. This is because the WP_Rewrite class uses hardcoded strings which were never translated until 2024. There is an old ticket (#1762) that discusses this issue, including the idea of modifying the WP_Rewrite
property with a plugin. This plugin implements that solution. It extends the native Permalinks settings page and adds a section to change the rewrite bases for author, search, comments and page (pagination). By default, these are based on the current language of your site.
Want to contribute?
Check out the Plugin GitHub Repository.
Additional Info
For more information about the WordPress Rewrite API, please visit the WordPress Rewrite API documentation.
Captures d’écran
Installation
- Upload the plugin files to the
/wp-content/plugins/rewrite-bases-internationalization
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings > Permalinks to configure the rewrite bases.
FAQ
-
How do I set custom rewrite bases?
-
After activating the plugin, go to Settings > Permalinks. You’ll find a new section called « Rewrite Bases » where you can enter custom values for author, search, comments and pagination bases.
-
What happens if I leave a field blank?
-
If you leave a field blank, the plugin will use WordPress’s default language-specific term for that base.
-
Does this plugin work with WMPL or other translation plugins?
-
This plugins is currently not tested with WMPL or other translation plugins and does not support them.
Avis
Il n’y a aucun avis sur cette extension.
Contributeurs & développeurs
« Rewrite Bases Internationalization » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Rewrite Bases Internationalization » 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.
Historique des changements
1.0
- Initial release