Step 1 - Install the plugin
Log in to your WordPress admin dashboard and follow these steps to install the Similar AI internal linking plugin.
- a.Click Plugins in the left navigation, then click Add New.
- b.Click Upload Plugin and select the Similar AI plugin file provided by your account manager.
- c.Once the upload completes, click Activate to enable the plugin.
Step 2 - Add an internal linking block to a page
When creating or editing a post or page, add a Similar AI internal linking block through the Gutenberg editor. The block connects to the Similar AI service and displays related searches for the current page.
Fill in the block settings with these fields:
API Key
Go to the Internal Linking view in the Similar AI dashboard. Enter a test page URL and look for the X-API-KEY value in the JSON request.
API URL
Use the default endpoint unless your Customer Success manager has provided a different one:
https://isentropic-snow-282609.ew.r.appspot.com/api/seo-related-searches/
Test URL
Enter any page from your site to verify the block is working correctly.
Position
Leave this as the default. If you have multiple internal linking modules on a single page, set the position number to choose which module to display.
Step 3 - Deploy to multiple pages with reusable patterns
To add the internal linking block across your entire site without editing each page individually, create a reusable block (called a Pattern in current WordPress versions) and embed it in your theme template.
- a.Create a reusable block containing the Similar AI internal linking block you configured in Step 2.
- b.Note the post ID of the reusable block. You can find this in the URL when editing the block, or by querying
wp_postsfor blocks of typewp_block. - c.Add the following snippet to your theme template (e.g.
footer.php), replacing1102with your reusable block post ID:
<div class="grid-container">
<h5 class="similarai-linking-header px-2 py-4">Related Links</h5>
<div id="similarai-block">
<?php $reusable_block = get_post( 1102 ); echo do_blocks( $reusable_block->post_content ); ?>
</div>
</div>Replace the post ID 1102 with the actual ID of your reusable block. Using the wrong ID will render an empty container.
Related guides
Depending on your WordPress setup, these guides may also be helpful:
Ready to automate internal linking on WordPress?
Get the Similar AI plugin installed and start connecting your pages with relevant internal links. Our team can walk you through the setup.