Title: Permalink Keeper
Author: Nordic Hosting
Published: <strong>2025 年 5 月 8 日</strong>
Last modified: 2026 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/permalink-keeper/assets/banner-772x250.png?rev=3478562)

![](https://ps.w.org/permalink-keeper/assets/icon-256x256.png?rev=3478562)

# Permalink Keeper

 作者：[Nordic Hosting](https://profiles.wordpress.org/nordichosting/)

[下载](https://downloads.wordpress.org/plugin/permalink-keeper.1.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/permalink-keeper/#description)
 * [评价](https://cn.wordpress.org/plugins/permalink-keeper/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/permalink-keeper/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/permalink-keeper/#developers)

 [支持](https://wordpress.org/support/plugin/permalink-keeper/)

## 描述

Permalink Keeper is a WordPress plugin that automatically flushes your rewrite rules
at regular intervals. This prevents 404 errors and maintains SEO integrity by ensuring
your permalink structure stays up to date.

#### Why do you need this plugin?

 * Sites that frequently experience permalink issues after content updates
 * Sites that have migrated content or changed permalink settings
 * Sites with complex permalink structures that need regular rule refreshes
 * Sites that need consistent URL structure for SEO

#### Key Features

 * Automatically flushes rewrite rules (soft flush — no .htaccess rewrite)
 * Prevents 404 errors caused by stale rewrite rules
 * Configurable flush interval
 * Debug logging via WP_DEBUG_LOG
 * Status dashboard showing last run time
 * Multilingual support (English, Norwegian, Dutch, German, French, Italian, Spanish)
 * Minimal resource usage

## 安装

 1. Upload the `permalink-keeper` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings -> Permalink Keeper to configure the flush interval

## 常见问题

### How often should I flush the rewrite rules?

For most sites, once per hour or once daily is sufficient. If you frequently publish
new content or experience sporadic 404 errors, a shorter interval like every 15 
or 30 minutes may help.

### Will this affect my site’s performance?

No. The plugin uses a soft flush (`flush_rewrite_rules(false)`) which only updates
the rewrite rules in the database without touching `.htaccess`. It runs in the background
via WP-Cron.

### Does the plugin support multilingualism?

Yes, the plugin currently supports:
 * English (en_US) * Norwegian Bokmål (nb_NO)*
Dutch (nl_NL) * German (de_DE) * French (fr_FR) * Italian (it_IT) * Spanish (es_ES)

## 评价

此插件暂无评价。

## 贡献者及开发者

「Permalink Keeper」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Nordic Hosting ](https://profiles.wordpress.org/nordichosting/)

[帮助将「Permalink Keeper」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/permalink-keeper)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/permalink-keeper/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/permalink-keeper/)，或通过[RSS](https://plugins.trac.wordpress.org/log/permalink-keeper/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/permalink-keeper/)。

## 更新日志

#### 1.2.0

 * Changed core logic to use `flush_rewrite_rules()` — safer and more correct approach
 * Added `register_activation_hook` to set defaults and schedule cron on activation
 * Removed batch processing, post type selection, and batch size settings
 * Removed unnecessary DB query on every request (`init_settings` via `init` hook)
 * Updated `Requires at least` to 5.7
 * Tested up to WordPress 6.9.4

#### 1.1.0

 * Fixed deactivation hook not clearing the scheduled cron event
 * Removed unused init() method
 * Added debug logging via WP_DEBUG_LOG
 * Added status dashboard on settings page
 * Added support for all public post types with selectable checkboxes
 * Added configurable batch size (10-500) for large sites
 * Applied WordPress PHP Coding Standards
 * Updated all translation files with new strings
 * Tested up to WordPress 6.9.1

#### 1.0.0

 * Initial release
 * Automatic permalink updates
 * Configurable update interval
 * Multilingual support

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**3 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.7 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/permalink-keeper/)
 * 标签
 * [404](https://cn.wordpress.org/plugins/tags/404/)[broken links](https://cn.wordpress.org/plugins/tags/broken-links/)
   [maintenance](https://cn.wordpress.org/plugins/tags/maintenance/)[permalinks](https://cn.wordpress.org/plugins/tags/permalinks/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/permalink-keeper/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/permalink-keeper/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/permalink-keeper/reviews/)

## 贡献者

 *   [ Nordic Hosting ](https://profiles.wordpress.org/nordichosting/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/permalink-keeper/)