Title: SeoCms Post Archival System
Author: SeoPageHost
Published: <strong>April 29, 2026</strong>
Last modified: April 29, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/seocms-post-archival-system.svg)

# SeoCms Post Archival System

 By [SeoPageHost](https://profiles.wordpress.org/mynetfocus/)

[Download](https://downloads.wordpress.org/plugin/seocms-post-archival-system.1.0.2.zip)

 * [Details](https://wordpress.org/plugins/seocms-post-archival-system/#description)
 * [Reviews](https://wordpress.org/plugins/seocms-post-archival-system/#reviews)
 *  [Installation](https://wordpress.org/plugins/seocms-post-archival-system/#installation)
 * [Development](https://wordpress.org/plugins/seocms-post-archival-system/#developers)

 [Support](https://wordpress.org/support/plugin/seocms-post-archival-system/)

## Description

SeoCms Post Archival System lets you move old posts and custom post types to a separate
archive database, keeping your main WordPress database lean and fast.

**Key Features:**

 * **Age-based archival rules** — Configure per-post-type rules (e.g., archive posts
   older than 180 days)
 * **Custom post type support** — Works with any registered post type
 * **Full data preservation** — Archives posts, post meta, and taxonomy relationships
 * **One-click restore** — Restore archived posts back to the main database with
   all metadata intact
 * **Scheduled archival** — Automate archival via WP-Cron (hourly, daily, weekly,
   or monthly)
 * **Manual batch runs** — Run archival on-demand from the dashboard
 * **Archive browser** — Search, filter, and browse archived posts from the admin
   panel
 * **Front-end search** — Use the `[seocpoar_search]` shortcode to let visitors 
   search archived content
 * **Activity logging** — Full audit trail of all archive and restore actions

**How It Works:**

 1. Configure a second MySQL database in Settings
 2. Set up archival rules per post type with age thresholds
 3. Run archival manually or on a schedule
 4. Archived posts are moved to the separate database with all their metadata
 5. Browse and restore archived posts at any time

**Shortcode Usage:**

Display a searchable archive browser on any page:

    ```
    [seocpoar_search]
    [seocpoar_search per_page="20"]
    [seocpoar_search per_page="10" post_type="post"]
    ```

## Screenshots

 * [[
 * Dashboard — Overview with statistics, quick actions, and recent activity
 * [[
 * Settings — Archive database configuration and scheduling options
 * [[
 * Archival Rules — Per-post-type age thresholds and status filters
 * [[
 * Archive Browser — Search and restore archived posts
 * [[
 * Activity Log — Full audit trail of archive and restore actions

## Installation

 1. Upload the `seocms-post-archival-system` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create a separate MySQL database for the archive (e.g., `wp_archive`)
 4. Go to **Archival > Settings** and enter the archive database credentials
 5. Click **Test Connection** to verify, then **Initialize Tables** to create the archive
    schema
 6. Go to **Archival > Rules** and add archival rules for your post types
 7. Go to **Archival > Dashboard** and click **Run Archival Now**, or enable scheduled
    archival

#### Requirements

 * WordPress 5.3 or higher
 * PHP 7.4 or higher (compatible with PHP 8.0, 8.1, 8.2, and 8.3)
 * A separate MySQL/MariaDB database for the archive
 * The WordPress database user must have access to the archive database

## FAQ

### Does this delete my posts?

By default, yes — posts are removed from the main database after being archived.
You can disable this in Settings by unchecking “Delete after archiving”, which keeps
posts in both databases.

### Can I restore archived posts?

Yes. Use the Archive Browser in the admin panel or the front-end shortcode to find
archived posts, then click “Restore” to bring them back to the main database with
all metadata intact.

### Does it archive comments?

Not in the current version. Only posts, post meta, and taxonomy relationships are
archived. Comment archival is planned for a future release.

### Does it work with custom post types?

Yes. Any registered public post type can have its own archival rule with a custom
age threshold.

### Can I use it on a multisite network?

The plugin works on individual sites within a multisite network. Full multisite 
support with shared archive databases is planned for a future release.

### What happens if the archive database is unavailable?

The plugin will return an error message and no posts will be archived or deleted.
Your main database is never modified unless the archive operation succeeds first.

### Is the archive database connection secure?

Database credentials are stored in the WordPress options table (same as wp-config.
php credentials). Passwords are masked in the admin UI.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“SeoCms Post Archival System” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ SeoPageHost ](https://profiles.wordpress.org/mynetfocus/)

[Translate “SeoCms Post Archival System” into your language.](https://translate.wordpress.org/projects/wp-plugins/seocms-post-archival-system)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/seocms-post-archival-system/),
check out the [SVN repository](https://plugins.svn.wordpress.org/seocms-post-archival-system/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/seocms-post-archival-system/)
by [RSS](https://plugins.trac.wordpress.org/log/seocms-post-archival-system/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.2

 * Renamed all internal identifiers to use unique `seocpoar_` / `Seocpoar` / `SEOCPOAR_`
   prefix per WordPress.org reviewer feedback (replaces reserved `wp_`-prefixed 
   names)
 * Namespace changed from `WP_Archival` to `Seocpoar`
 * Plugin constants renamed `WP_ARCHIVAL_*`  `SEOCPOAR_*`
 * Option keys renamed `wp_archival_*`  `seocpoar_*`
 * Cron hook renamed `wp_archival_scheduled_run`  `seocpoar_scheduled_run`
 * AJAX action suffixes renamed `wp_archival_*`  `seocpoar_*`
 * Shortcode renamed `[wp_archival_search]`  `[seocpoar_search]`
 * Custom action hooks renamed `wp_archival_post_archived/restored`  `seocpoar_post_archived/
   restored`
 * Log table renamed `{prefix}archival_log`  `{prefix}seocpoar_log`
 * Front-end CSS classes renamed `.wpa-*`  `.seocpoar-*`
 * URL query params renamed `wpa_view/search/page`  `seocpoar_view/search/page`
 * Default archive table prefix changed from `wpa_` to `seocpoar_`

#### 1.0.1

 * Hardened output escaping for all `number_format_i18n()` calls
 * Refactored database queries to use `%i` placeholder for table/column identifiers(
   requires WP 6.2+)
 * Refactored Logger ORDER BY to use literal ASC/DESC branches (no variable concat
   in SQL)
 * Prefixed template-scope variables with `seocpoar_` for WordPress coding standards
   compliance
 * Added direct file access protection to bundled CLI test scripts
 * Bumped minimum WordPress requirement from 5.3 to 6.2
 * Tested up to WordPress 6.9

#### 1.0.0

 * Initial release
 * Age-based archival rules per post type
 * Archive posts, post meta, and taxonomies to separate database
 * One-click restore from archive
 * Scheduled archival via WP-Cron
 * Admin dashboard with statistics
 * Archive browser with search and filtering
 * Activity logging
 * Front-end shortcode for archive search
 * Single archived post view within theme

## Meta

 *  Version **1.0.2**
 *  Last updated **1 week ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [archive](https://wordpress.org/plugins/tags/archive/)[cleanup](https://wordpress.org/plugins/tags/cleanup/)
   [database](https://wordpress.org/plugins/tags/database/)[maintenance](https://wordpress.org/plugins/tags/maintenance/)
   [posts](https://wordpress.org/plugins/tags/posts/)
 *  [Advanced View](https://wordpress.org/plugins/seocms-post-archival-system/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/seocms-post-archival-system/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/seocms-post-archival-system/reviews/)

## Contributors

 *   [ SeoPageHost ](https://profiles.wordpress.org/mynetfocus/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/seocms-post-archival-system/)