Free AI WordPress Plugin To Automate Inside Linking For SEOs


If you happen to’ve been following this collection of exploration of vectors and their software in web optimization, we’ve got lined the constructing blocks of the plugin I’m sharing with you:

  1. Understanding the basics.
  2. Solving content issues.
  3. Scaling up to handle massive amounts of data.
  4. Automating 301 redirects at scale.

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

We are bringing what we discovered immediately into your WordPress, a content material administration system which powers 43.3% of the net.

I constructed a practical proof-of-concept WordPress plugin with AI help, utilizing Google Vertex AI, OpenAI, and Pinecone APIs to handle inner linking immediately inside the WordPress editor. Immediately, I’m sharing precisely the way it works, the logic behind the code, and the plugin information for you to experiment with.

Download the ZIP

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

1. Create A Pinecone Vector Database

We lined how to work in Pinecone vector database in the earlier chapter, in case you need to have a extra in-depth look. However registering is fairly easy and simple; simply visit their website and join. Create a desk with any identify you favor, with a customized dimensionality of 768.

To arrange the plugin, you would wish:

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 should add a small credit score stability (e.g., $5) to your account, as the API will not work with no cost technique connected. We pay about $0.5/month for OpenAI API utilization.

Generate the key by clicking on “Create new secret key” and provides your key a reputation (like “WP Inside Hyperlink Plugin”) and duplicate the string instantly, as you’ll not give you the option to view it once more as soon as the window closes.

3. Google Service Account JSON Key

You want to go to Google Cloud Console and allow “Vertex AI API” by navigating to this URL. Please word Google requires a billing account for AI companies, even in the event you keep inside the free tier. Seek for “Billing” in the prime search bar and add the bank card information by following the required steps. We pay round $0.3/month for Vertex API utilization.

When you’ve finished that, navigate to “API & Companies” and create “Service Account” JSON key you want to copy and paste in the settings. You may watch this video on the way it is finished when you’ve got a tough time to navigate in Google Cloud Console.

4. Plugin Configuration

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

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

You can even choose put up varieties you need to index, which provides you much more granular management over the articles you’ll index.

Principally, we may use the identical Google service account keys to change the OpenAI API with Gemini, however I used OpenAI on objective so you’d interact, create an API key there, and learn the way to do it.

    4. Indexing: Shifting Content material To The Vector DB

    Earlier than we will seek for hyperlinks, our current content material should exist as vectors in the vector database you’ve created.

    In Half 3 of this collection, we discovered how to 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)

    Whenever you run the preliminary indexing, the plugin iterates by way of your printed WordPress posts and pages. It parses the DOM construction of every put up 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 web optimization meta description (if current).
    3. Excerpt.
    4. First opening paragraph.
    5. Every H2 heading, together with its subsequent paragraph.

    This ensures that vectors focus on the article’s main subjects fairly 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 put up ID and title (right here it’s possible you’ll contemplate tweaking the performance and as a substitute of the content material push solely Yoast meta description).

    The plugin makes batch requests for effectivity. To offer you a way of indexing pace, it listed 25,000 articles in about 50 minutes. Alternatively, when you’ve got a number of hundred thousand pages, it’s your decision to export them and upsert utilizing a Jupyter pocket book, as described here.

    It is a one-time heavy job that wants to be finished, later, once you hit “Replace” or “Publish” in WordPress, the plugin immediately generates a brand new vector for that particular put up and updates the file. It’ll delete the file in the event you delete the article. It ensures that your index is at all times up to date.

    I would really like to word that indexing will likely be a little bit costly, maybe round $1 to $2 for a number of tens of hundreds of articles, nevertheless it is a one-time expense for the preliminary setup.

    Now it is time to add inner hyperlinks to your content material. This is the place the enjoyable half begins.

    The plugin has two modes of operation:

    1. Inside linking by manually chosen anchor phrase.
    2. Robotically suggesting inner hyperlinks by parsing the content material of the article.

    And I do know the WordPress group is nonetheless divided on Traditional and Gutenberg editors, so I ensured the plugin works for each.

    5. Including Inside Hyperlinks In WordPress Gutenberg Editor

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

    You may configure classes to filter the search, e.g., solely recommend hyperlinks from the “Analytics” class, which serves as a kind of RAG to enhance outcomes accuracy.

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

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

    This is what occurs underneath the hood.

    1. Entity Extraction: Whenever 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” that are related to the article’s matter.
    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. Consequence: It returns the most related articles, even when they don’t comprise these actual phrases that are semantically shut to that phrase.

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

    In the Traditional Editor, the course of is comparable; you get a devoted “Recommend Hyperlinks” dropdown in the toolbar.

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

    And in the identical approach, you should utilize every choice. You may simply choose any phrase in the editor and click on on “Recommend by Anchor Textual content” or run “Bulk Auto Suggestion.”

    Fairly straightforward and enjoyable to add inner hyperlinks now, isn’t it?

    7. Alternate options

    There are quite a few choices, both free or paid, it’s your decision to discover, akin to:

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

    And it’s possible you’ll ask why we didn’t use certainly one of the current options, however most well-liked to construct one from scratch. The reply is easy: We would have liked granular management over the output, and none of the plugins met our wants. Thus, we constructed one which we will fine-tune, flex, and management 100% as we wish.

    And naturally, it is free (aside from run prices), and we are unbiased from third events. Beneath is the payment 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 is at all times greatest follow to set budget alerts.

    Conclusion: From Embeddings To A Useful WordPress Plugin

    We moved from understanding the math of embeddings to constructing a completely practical LLM-based WordPress plugin that manages semantic inner linking.

    This plugin is a end result of that information. It is a practical basis. I’m sharing the zip file not as a business product, however as an academic instrument and a base for the group.

    Please word that this is a plugin created for instructional functions to show the energy of LLMs and Vector Databases in web optimization, and there is no official assist supplied for this plugin. It does not gather, retailer, or share any information with us or any third celebration. All information stays underneath the web site proprietor’s full possession and management.

    Nonetheless, when you’ve got questions on the code, or need to talk about how one can prolong its performance, be happy to attain out to me on LinkedIn. I’ll do my greatest to reply questions and aid you troubleshoot as a lot as my time will let me do this.

    Completely satisfied inner linking!

    Extra Sources:


    Featured Picture: Collagery/Shutterstock




Disclaimer: This article is sourced from external platforms. OverBeta has not independently verified the information. Readers are advised to verify details before relying on them.

0
Show Comments (0) Hide Comments (0)
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Stay Updated!

Subscribe to get the latest blog posts, news, and updates delivered straight to your inbox.