=== Antypas Auto Internal Links ===
Contributors: ioannisantypas
Tags: internal links, seo, automatic links, linking, internal linking
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically turn chosen keywords into internal links across your posts and pages. Safe by design, your stored content is never changed.

== Description ==

Antypas Auto Internal Links helps you build a strong internal linking structure without editing every post by hand. You define a simple list of keyword-to-URL rules, and the plugin links those keywords automatically whenever they appear in your content.

Strong internal linking helps readers discover more of your content and helps search engines understand how your pages relate to each other.

= Safe by design =

This is the part that matters most. Links are added when a page is displayed, using a proper HTML parser, not crude text replacement. That means:

* Your saved post content is never modified. Deactivate the plugin and the automatic links disappear, leaving your original content exactly as it was.
* Existing links are never touched or double-linked.
* Text inside headings, code blocks and scripts is left alone.
* Your HTML is never broken by a stray replacement.

= Features =

* Simple keyword-to-URL rules, managed in an easy editable list
* Works with single words and multi-word phrases
* Whole-word matching so short keywords do not match inside other words
* Limit the number of links per page and per keyword to keep linking natural
* Choose which content types to apply to
* Option to run only on single posts and pages, not on archives
* Open links in a new tab and add nofollow if you want
* Skip specific posts by ID
* Plain-English settings with help text on every option

== Installation ==

1. Upload the plugin to the /wp-content/plugins/ directory, or install it through the Plugins screen in WordPress.
2. Activate the plugin through the Plugins screen.
3. Go to Auto Links in the admin menu and add your first keyword-to-URL rules.

== Frequently Asked Questions ==

= Does this change my saved posts? =

No. The links are added only when a page is displayed. Your stored content stays exactly as you wrote it, and removing the plugin removes the automatic links.

= Will it break my page layout or HTML? =

No. The plugin uses a real HTML parser and only adds links inside plain text. It never touches existing links, headings, code, or scripts.

= Can I link multi-word phrases? =

Yes. A rule can be a single word or a full phrase such as cyber security training.

= How many links will it add? =

You decide. By default it adds at most one link per keyword and five links per page, which keeps linking natural. You can change both limits in the settings.

= Does it work with the block editor and the classic editor? =

Yes. It works on the final content of any post or page, however it was written.

= Will it slow down my site? =

The processing is lightweight and only runs on the content of single posts and pages by default. Most sites will not notice any difference.

== Changelog ==

= 1.0.0 =
* Initial release.
* Keyword-to-URL automatic internal linking.
* Safe HTML-parser-based linking that never touches existing links, headings or code.
* Per-page and per-keyword limits, whole-word matching, post-type targeting, new-tab and nofollow options, and post exclusions.