0.6 C
New York
Wednesday, February 4, 2026

Free AI WordPress Plugin To Automate Inner Linking For SEOs


When you’ve been following this sequence of exploration of vectors and their software in search engine optimization, now we have coated the constructing blocks of the plugin I’m sharing with you:

  1. Understanding the fundamentals.
  2. Fixing content material points.
  3. Scaling as much as deal with large quantities of information.
  4. Automating 301 redirects at scale.

Operating Python scripts in a terminal is highly effective, but it surely isn’t the place SEOs and content material writers spend most of their day, and there was a friction level. It wasn’t accessible.

We’re bringing what we realized instantly into your WordPress, a content material administration system which powers 43.3% of the net.

I constructed a purposeful proof-of-concept WordPress plugin with AI help, utilizing Google Vertex AI, OpenAI, and Pinecone APIs to handle inside linking instantly contained in the WordPress editor. In the present day, I’m sharing precisely the way it works, the logic behind the code, and the plugin recordsdata so that you can experiment with.

Obtain the ZIP

Let’s dive into the setup, and learn to make the plugin work, and anybody with no technical background can do this.

1. Create A Pinecone Vector Database

We coated how you can work in Pinecone vector database within the earlier chapter, in case you wish to have a extra in-depth look. However registering is sort of easy and easy; simply go to their web site and enroll. Create a desk with any title you like, with a customized dimensionality of 768.

To arrange the plugin, you would want:

Pinecone table with dimensionality of 768
Pinecone desk with dimensionality of 768 (Picture from creator, December 2025)

2. Create An OpenAI API Key

Log in to platform.openai.com and navigate to the Settings > Billing part. You could add a small credit score steadiness (e.g., $5) to your account, because the API is not going to work with no fee technique connected. We pay about $0.5/month for OpenAI API utilization.

Generate the important thing by clicking on “Create new secret key” and provides your key a reputation (like “WP Inner Hyperlink Plugin”) and replica the string instantly, as you will be unable to view it once more as soon as the window closes.

3. Google Service Account JSON Key

It is advisable go to Google Cloud Console and allow “Vertex AI API” by navigating to this URL. Please word Google requires a billing account for AI providers, even if you happen to keep throughout the free tier. Seek for “Billing” within the prime search bar and add the bank card info by following the required steps. We pay round $0.3/month for Vertex API utilization.

When you’ve performed that, navigate to “API & Companies” and create “Service Account” JSON key you should copy and paste within the settings. You possibly can watch this video on how it’s performed when you have a tough time to navigate in Google Cloud Console.

4. Plugin Configuration

When you’ve arrange all accounts and gathered all of the keys, it’s time to set up the zip file and arrange the settings within the plugin. (It’s at all times really useful to put in new plugins on staging web site first.)

Plugin Settings Page (Image from author, December 2025)
Plugin Settings Web page (Picture from creator, December 2025)

It’s also possible to choose submit varieties you wish to index, which supplies you much more granular management over the articles you’ll index.

Mainly, we may use the identical Google service account keys to interchange the OpenAI API with Gemini, however I used OpenAI on goal so you’d have interaction, create an API key there, and learn to do it.

    4. Indexing: Shifting Content material To The Vector DB

    Earlier than we are able to seek for hyperlinks, our present content material should exist as vectors within the vector database you’ve created.

    In Half 3 of this sequence, we realized how you can upsert vectors into Pinecone manually. This plugin automates that course of, and also you now not want Python scripts.

    Upsert articles into pinecone
    Upsert articles into Pinecone (Picture from creator, December 2025)

    While you run the preliminary indexing, the plugin iterates by your printed WordPress posts and pages. It parses the DOM construction of every submit to extract strategically vital content material sections, concatenating them right into a single textual content illustration that will get embedded as a vector:

    1. The title.
    2. Yoast search engine optimization meta description (if current).
    3. Excerpt.
    4. First opening paragraph.
    5. Every H2 heading, together with its subsequent paragraph.

    This ensures that vectors deal with the article’s main matters slightly than being diluted by background context. Afterwards, it sends the composed copy to the embedding mannequin to generate a numerical vector illustration (768 dimensions), and shops that vector in Pinecone together with the submit ID and title (right here you might take into account tweaking the performance and as an alternative of the content material push solely Yoast meta description).

    The plugin makes batch requests for effectivity. To provide you a way of indexing pace, it listed 25,000 articles in about 50 minutes. Alternatively, when you have just a few hundred thousand pages, you might wish to export them and upsert utilizing a Jupyter pocket book, as described right here.

    It’s a one-time heavy job that must be performed, later, while you hit “Replace” or “Publish” in WordPress, the plugin immediately generates a brand new vector for that particular submit and updates the document. It’s going to delete the document if you happen to delete the article. It ensures that your index is at all times updated.

    I wish to word that indexing shall be a bit of costly, maybe round $1 to $2 for just a few tens of hundreds of articles, however it’s a one-time expense for the preliminary setup.

    Now it’s time to add inside hyperlinks to your content material. That is the place the enjoyable half begins.

    The plugin has two modes of operation:

    1. Inner linking by manually chosen anchor phrase.
    2. Mechanically suggesting inside hyperlinks by parsing the content material of the article.

    And I do know the WordPress neighborhood remains to be divided on Traditional and Gutenberg editors, so I ensured the plugin works for each.

    5. Including Inner Hyperlinks In WordPress Gutenberg Editor

    In Gutenberg, it makes use of a sidebar panel for computerized inside hyperlink recommendations, and if you wish to add an inside hyperlink for the phrase you’ve chosen, click on on the pencil icon.

    You possibly can configure classes to filter the search, e.g., solely counsel hyperlinks from the “Analytics” class, which serves as a kind of RAG to extend outcomes accuracy.

    You even have the choice to filter by article freshness, reminiscent of choosing articles printed inside a yr or two, which may also help you fetch contemporary content material linking concepts when coping with information articles.

    When you set the filters and run bulk recommendations, it makes use of OpenAI’s “GPT-4.1-nano” mannequin for anchor textual content extraction that populates the sidebar, the place one can find the “Apply” button to insert the hyperlink seamlessly on the phrase within the editor.

    That is what occurs beneath the hood.

    1. Entity Extraction: While you click on “Bulk Auto Suggestion,” the plugin sends the present content material of your draft to the OpenAI API to extract “entities” and “key phrases” which might be related to the article’s subject.
    2. Vectorization utilizing Google Vertex AI: The plugin takes that particular phrase and converts it right into a vector.
    3. Vector Search: It queries Pinecone for articles utilizing the vector it created in your database.
    4. End result: It returns probably the most related articles, even when they don’t comprise these actual phrases which might be semantically near that phrase.

    6. Including LLMs-Based mostly Inner Hyperlinks In WordPress Traditional Editor

    Within the Traditional Editor, the method is comparable; you get a devoted “Counsel Hyperlinks” dropdown within the toolbar.

    Adding LLM-based internal links in Classic Editor.
    Including LLM-based inside hyperlinks in Traditional Editor. (Picture from creator, December 2025)

    And in the identical approach, you should use every choice. You possibly can simply choose any phrase within the editor and click on on “Counsel by Anchor Textual content” or run “Bulk Auto Suggestion.”

    Fairly straightforward and enjoyable so as to add inside hyperlinks now, isn’t it?

    7. Alternate options

    There are a selection of choices, both free or paid, you might wish to discover, reminiscent of:

    1. Hyperlink Whisper.
    2. Plugli.
    3. Yoast Premium.

    And you might ask why we didn’t use one of many present options, however most popular to construct one from scratch. The reply is easy: We would have liked granular management over the output, and not one of the plugins met our wants. Thus, we constructed one which we are able to fine-tune, flex, and management 100% as we would like.

    And naturally, it’s free (aside from run prices), and we’re unbiased from third events. Beneath is the charge we pay for Google Vertex utilization for a month of utilization.

    Google Cloud Console Fee
    Google Cloud Console Charge (Picture from creator, December 2025)

    To keep away from any unpredictable price spikes, it’s at all times finest apply to set price range alerts.

    Conclusion: From Embeddings To A Practical WordPress Plugin

    We moved from understanding the maths of embeddings to constructing a completely purposeful LLM-based WordPress plugin that manages semantic inside linking.

    This plugin is a end result of that information. It’s a purposeful basis. I’m sharing the zip file not as a industrial product, however as an academic device and a base for the neighborhood.

    Please word that this can be a plugin created for instructional functions to display the ability of LLMs and Vector Databases in search engine optimization, and there’s no official help supplied for this plugin. It doesn’t accumulate, retailer, or share any knowledge with us or any third celebration. All knowledge stays beneath the positioning proprietor’s full possession and management.

    Nonetheless, when you have questions in regards to the code, or wish to talk about how one can lengthen its performance, be at liberty to succeed in out to me on LinkedIn. I’ll do my finest to reply questions and show you how to troubleshoot as a lot as my time will let me do this.

    Joyful inside linking!

    Extra Assets:


    Featured Picture: Collagery/Shutterstock

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles