plugin-icon

Rewrite Bases Internationalization

作者:Timo H·
Internationalize rewrite bases for author, search, comments and page (pagination) slugs in WordPress.
版本
1.0
最后更新
Apr 16, 2025

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:

  1. Go to Settings > Permalinks in your WordPress admin panel.
  2. 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.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.8.3
这个插件是可用的下载,适用于您的站点。