=== Smart Internal Linking Assistant ===
Contributors: mohamedannajar
Tags: internal links, internal linking, seo, link building, content optimization
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate internal link suggestions for posts, pages, and WooCommerce products, then review, approve, insert, reject, or remove links manually.

== Description ==

Smart Internal Linking Assistant helps WordPress site owners find internal linking opportunities across posts, pages, and WooCommerce products.

The plugin scans selected content, compares titles and content overlap, and suggests relevant internal links. Site admins stay fully in control: no links are inserted automatically. Each suggestion can be reviewed, approved, rejected, inserted, or removed manually.

The plugin also adds an Internal Link Suggestions box inside the editor, allowing admins to review and insert suggestions directly while editing a post, page, or product.

= Current features =

* Generate internal link suggestions from the dashboard.
* Similarity scoring based on title and content overlap.
* Separate title score and content score.
* Approve or reject suggestions.
* Insert internal links manually.
* Remove inserted internal links.
* Editor metabox suggestions for posts, pages, and WooCommerce products.
* Detection of links that already exist in the content.
* Support for WordPress posts, pages, and WooCommerce products.

= Important note =

This beta version does not include AI functionality. AI-powered features are planned for a future version.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install it through the WordPress Plugins screen.
2. Activate the plugin through the Plugins screen in WordPress.
3. Go to Link Assistant in the WordPress admin menu.
4. Choose a content type, set the number of items per run, and click Generate Suggestions.
5. Review suggestions, then approve, reject, insert, or remove links as needed.

== Frequently Asked Questions ==

= Does the plugin insert links automatically? =

No. The plugin only suggests internal links. You choose which links to approve and insert.

= Which content types are supported? =

The plugin supports posts, pages, and WooCommerce products.

= Does it support Elementor content? =

This version is designed for standard WordPress post content. Elementor-specific content insertion is not supported in this beta version.

= Does this version use AI or OpenAI? =

No. AI features are not included in this beta version.

= Can I remove an inserted link? =

Yes. Inserted links can be removed from the plugin dashboard when the suggestion is listed under Inserted in Content.

= Why do I sometimes see "No natural anchor text was found"? =

This means the plugin found a related target page, but could not safely find matching text in the source content where the link should be inserted. In that case, you can edit the content manually or reject the suggestion.

== Screenshots ==

1. Link Assistant dashboard with suggestion generation controls.
2. Pending suggestions table with approve, reject, and insert actions.
3. Inserted links table with remove action.
4. Internal Link Suggestions metabox inside the editor.
5. Plugin info/settings screen.

== Changelog ==

= 1.0.0 =
* Initial beta release.
* Added dashboard suggestion generation.
* Added manual approve, reject, insert, and remove actions.
* Added support for posts, pages, and WooCommerce products.
* Added editor metabox suggestions.
* Added basic similarity, title, and content scoring.

== Upgrade Notice ==

= 1.0.0 =
Initial beta release.
