开发者 | korobochkin |
---|---|
更新时间 | 2025年9月19日 02:47 |
PHP版本: | 4.1 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wp plugin install bbpress-permalinks-with-id
.wp plugin activate bbpress-permalinks-with-id
./wp-admin/options-permalink.php
page. WordPress automatically flushes rewrite rules every time you access this page, without requiring you to press the "Save Changes" button.wp rewrite flush
command from WP-CLI.wp plugin deactivate bbpress-permalinks-with-id
.wp plugin delete bbpress-permalinks-with-id
./wp-admin/options-permalink.php
page. WordPress automatically flushes rewrite rules every time you access this page, without requiring you to press the "Save Changes" button.wp rewrite flush
command from WP-CLI.You can find a detailed table of supported URL structures in the README.md on GitHub.
Yes. URLs within theme templates that are generated using the get_post_permalink()
function will adopt the ID-based structure.
No. Static content stored within the wp_posts
table remains unaltered. The plugin only modifies the code responsible for generating and handling URLs.
Yes. The original URLs with slugs remain accessible. However, the plugin does not provide automatic redirection from slug-based URLs to ID-based URLs.
The plugin undergoes manual testing with the latest WordPress and bbPress versions using the official Twenty Twelve (twentytwelve
) theme. Additionally, automated code analysis tools test compatibility with both legacy and current versions, including Psalm and PHP Code Style validation (see .github/workflows/tests.yml
).
<
).