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.
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.
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.
- PHP >= 8.0
- Make sure you have the correct requirements.
- Clone the repository and place it in
wp-content/plugins/
folder.
- Make sure you have the correct requirements.
- Perform Installation.
- Run
composer i
to install composer dependency.
GPLv3