> For the complete documentation index, see [llms.txt](https://docs.seoneo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.seoneo.io/documentation/self-hosted-wordpress/using-internal-linking.md).

# Using Internal Linking

[**Internal Linking**](/documentation/features/internal-linking.md) feature can be used on campaigns that include Self Hosted WordPress link groups. To use this feature, you will first need to have access to OpenAI API.

{% hint style="info" %}
**OpenAI API is required** to use Internal Links feature. If you need more help on how to use **OpenAI API key**, [**read this section**](/documentation/features/openai-for-content-buckets.md#generating-openai-secret-key-api-key).
{% endhint %}

## How Internal Links Work

SEO Neo uses your content from your content buckets and OpenAI to adjust your content/articles to include internal links. To do so, SEO Neo takes the content from your content bucket, it uses OpenAI integration to analyze the context of your content, and then adjusts the content to include internal links based on given user options.

<figure><img src="/files/ZRbzmGSc0z63GIZHDD86" alt=""><figcaption><p>Internal Links - Process</p></figcaption></figure>

You can set internal link options from Self Hosted WordPress group options.

<figure><img src="/files/NU0C3rUFTPkyppuMybZU" alt=""><figcaption><p>Internal Links options on Self Hosted WordPress group</p></figcaption></figure>

In order to enable internal links, you need to set "**Internal Links**" number **greater than zero (0)**. SEO Neo has this option to zero by default, meaning that internal links is disabled. Changing this options effects the number of internal links you want to create on your articles.

The second option for internal links, is "**Internal Links Relevance**". This option effects how SEO Neo will create internal links.

Here are the different **Internal Links Relevance** options:

#### Random

SEO Neo creates internal links using any available post from your WordPress website.

#### Categories

Using this option will ensure that internal links will be from posts exclusively from selected group **category**.&#x20;

<figure><img src="/files/eSZIAyJ5Xna3gbf2qMiN" alt=""><figcaption></figcaption></figure>

#### Tags

Selecting this option, you ensure the internal links will be from posts exclusive to selected group **tags**.

<figure><img src="/files/so72HbLkUBX5HKxDaxWy" alt=""><figcaption></figcaption></figure>

You can select only one of three different options on how SEO Neo will create (relate) internal links.&#x20;

## OpenAI and Interal Links

As we mentioned earlier, SEO Neo uses OpenAI integration in order to identify the context of your content. Keep in mind, that depending on **number of internal links** and the **size of your content** you will be charged OpenAI tokens accordingly.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.seoneo.io/documentation/self-hosted-wordpress/using-internal-linking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
