Rewrite Bases Internationalization
Choose custom URL bases for author archives, search, comment feeds and pagination, with defaults from WordPress translations.
Install in
Make WordPress URL paths fit your site’s language. Rewrite Bases Internationalization lets you choose the words used in author archive, search, comment feed and pagination URLs, directly in Settings > Permalinks.
For example, replace the author base in /author/alex/ with your own word, such as /autor/alex/. The plugin changes shared URL bases, not author names or content.
Features
- Customize author archive and search URL bases.
- Customize the base used for site-wide comment feeds.
- Customize general pagination URLs, such as /page/2/.
- Customize comment-pagination URLs, such as /my-post/replies-2/.
- Use defaults derived from WordPress translations or enter your own values.
- Manage the settings in the existing Permalinks screen.
Before you start
Changing URL bases can break existing links or conflict with other routes. Activation can also change URLs when blank fields use translated defaults. Test on staging and plan any necessary redirects before changing a public site.
Technical background
WordPress manages these URL bases through its Rewrite API. The plugin exposes settings for them and derives blank-field defaults from translated Core labels.
For background, see the WordPress Rewrite API and Core ticket #1762.
Want to contribute?
Report issues or contribute on GitHub.
Written by Joobi from the project's own listing. See the source page
1.0.2
- Fix routing for non-ASCII custom and translated bases.
- Rebuild rewrite rules automatically when the effective bases change, including after a Site Language change.
- Reject invalid submissions without changing the saved rewrite bases. Blank fields and
0still use the defaults.
1.0.1
- Fix Comment-page Base to use the /base-2/ URL format.
- Keep the native comment-page default in every language when the field is blank. Previously ignored saved custom values now take effect and can change existing comment URLs.
- Keep translated default bases tied to Site Language so an administrator’s profile language cannot break frontend URLs.
- Use saved bases consistently when WordPress rebuilds permalink rules.
- Apply saved bases during activation and let WordPress rebuild rules without the plugin after deactivation.
- Remove saved settings correctly on uninstall.
- Correct URL previews and form markup in the Permalinks screen.
1.0
- Initial release.
Follow this listing's changes (Atom feed)