=== E-CORP ALL IN ONE ===
Contributors: ecorpagency
Tags: internal links, cache, seo audit, performance, interlinking
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Internal linking, a page cache and an SEO audit in a single plugin. Each module is enabled separately. French interface.

== Description ==

E-CORP ALL IN ONE brings together three site maintenance tools that usually
require three separate plugins. Each module is enabled from the welcome screen,
and an unchecked module loads no code at all.

The plugin takes ownership of nothing. Internal linking and the cache work at
render time, the audit only reads. Disabling a module returns the site to its
previous state.

**The admin interface of this plugin is in French.**

= Internal linking =

You define a list of rules mapping a keyword to a URL. On display, each keyword
becomes a link to its target. The content stored in the database is never
modified.

* A keyword is linked on its first occurrence only.
* A cap limits how many links are inserted per post.
* A post never links to itself.
* Links can open in a new tab, or carry a `rel="nofollow"`.
* Only the post types you enable are processed.

No link is ever inserted inside an existing anchor, a heading, a script, a
style block, a code block, a form control, an iframe, an SVG, an HTML comment,
or any HTML attribute.

= Cache =

Rendered pages are served as-is to logged-out visitors. Publishing or editing a
post clears the cache.

* A logged-in visitor always gets the real page.
* Search, account, cart and checkout pages are never cached.
* The screen shows the number of entries, their weight and the age of the oldest one.
* Four optional loading tweaks, all disabled by default.
* A cleanup of post revisions and expired transients, on manual action only.

The module writes no file outside its own uploads directory, and never touches
`wp-config.php`.

= SEO audit =

The audit reads a rendered post and lists what it lacks, sorted into three
severities. It writes no title tag, no meta description and no structured data,
so it coexists with an SEO plugin you already run.

Ten checks: missing title or title outside the configured bounds, missing
description, missing or duplicated first level heading, skipped heading level,
content below the word threshold, images without alternative text, images above
the configured weight, no incoming internal link, noindex content, content
missing from the sitemap.

== Installation ==

1. Install and activate the plugin.
2. The welcome screen opens. Check the modules you want.
3. Each active module adds its submenu under E-CORP AIO.

== Frequently Asked Questions ==

= Do I have to enable all three modules? =

No. Each module is enabled separately, and an unchecked module loads no code.
You can run just one.

= Does internal linking modify my posts? =

No. Everything happens at render time. Disabling the module removes every
generated link, leaving no trace in the database.

= Is the cache compatible with another caching plugin? =

Keep only one. This module drops no `advanced-cache.php` and does not touch
`wp-config.php`, so it will not clash on load, but two stacked caches make any
diagnosis impossible.

= Does the audit replace Yoast or Rank Math? =

No, and it is not meant to. It writes no metadata. It tells you what is
missing, you fix it with the tool of your choice.

= Can the database cleanup run on its own? =

No. Nothing is scheduled. The count is shown, you confirm, and nothing happens
without that.

= What happens to the ECORP Internal Links plugin? =

It is no longer maintained. Its linking engine is carried over here unchanged,
and your rules are imported automatically on first load.

= Is the plugin available in English? =

The interface is in French. The code is fully internationalized, so an English
translation can be added without any code change.

== Screenshots ==

1. The welcome screen, where each module is enabled.
2. Internal linking rules.
3. The SEO audit of a post.
4. Cache status and loading options.

== Changelog ==

= 1.0.0 =
* First release.
* Internal linking module, carried over from ECORP Internal Links along with its rules.
* Cache module: page serving, purging, loading tweaks, database cleanup.
* SEO audit module: ten checks, read only.

== Upgrade Notice ==

= 1.0.0 =
First release. Settings from ECORP Internal Links are imported automatically.
