=== Permalink Keeper ===
Contributors: nordichosting
Tags: permalinks, seo, maintenance, broken links, 404
Requires at least: 5.0
Tested up to: 6.9.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically fixes broken WordPress permalinks by refreshing them at regular intervals. Prevents 404 errors and maintains SEO integrity.

== Description ==

Permalink Keeper is a WordPress plugin that automatically fixes broken permalinks by refreshing them at regular intervals. This prevents 404 errors and maintains SEO integrity by ensuring your permalinks remain functional.

= Why do you need this plugin? =

* Sites that frequently experience permalink issues
* Large sites with many posts and pages
* Sites with complex permalink structures
* Sites that have migrated content or changed permalink settings
* Sites that need consistent URL structure for SEO

= Key Features =

* Automatically fixes broken permalinks
* Prevents 404 errors
* Configurable update interval
* Selectable post types (all public post types supported)
* Batch processing for large sites
* Debug logging via WP_DEBUG_LOG
* Status dashboard showing last run, posts processed, and permalinks changed
* Multilingual support (English, Norwegian, Dutch, German, French, Italian, Spanish)
* Minimal resource usage

== Installation ==

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 update interval, post types, and batch size

== Frequently Asked Questions ==

= How often should I update the permalinks? =

Recommended update interval depends on your site's size and how often you update content. For most sites, every hour or every 30 minutes is sufficient.

= Will this affect my site's performance? =

No, the plugin uses batch processing to limit the number of posts handled per cron run. You can adjust the batch size in Settings to match your server's capacity.

= 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)

== Changelog ==

= 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

== Upgrade Notice ==

= 1.1.0 =
Bug fixes, batch processing for large sites, custom post type support, and status dashboard.

= 1.0.0 =
First release of Permalink Keeper. 