Overview
Overview
Internal linking is a crucial SEO strategy that connects related content on your website, helping search engines understand your site structure and keeping visitors engaged longer. SheetXAI makes it easy to add internal links to hundreds of blog posts automatically, saving hours of manual work.
What is Internal Linking?
Internal linking is when you link from one blog post on your website to another related blog post. When someone reads one article, they can click to see another related one, and another. The more they click, the longer they stay on your website, which helps boost your SEO rankings.
Why Use SheetXAI for Internal Linking?
- Scale: Process hundreds or thousands of articles in minutes
- Accuracy: AI analyzes article content and summaries to find the most relevant links
- Efficiency: Automate the entire workflow from import to update
- Quality: Get context-aware link suggestions based on actual article content, not just URLs
Platform Availability: Internal linking workflow works in both Google Sheets and Excel versions of SheetXAI.
Prerequisites
Before you begin, make sure you have:
-
WordPress Integration Set Up: Your WordPress credentials must be configured in SheetXAI Settings
- Go to Settings β WordPress
- Enter your WordPress URL, username, and application password
- See our WordPress Integration Guide for detailed setup instructions
-
WordPress Integration Added: Click the + icon next to "current sheet" in SheetXAI and select WordPress (if not already added)
The Complete Workflow
The internal linking process involves three main steps:
- Import Your Blogs - Get all your WordPress articles into a spreadsheet
- Generate Summaries & Link Suggestions - Use AI to create summaries and find relevant internal links
- Update & Publish - Update your articles with internal links and push changes back to WordPress
Step 1: Import Your WordPress Articles
First, you need to get all your blog posts into a spreadsheet.
How to Import
-
Open SheetXAI Chat: Click Extensions β Sheets AI β Open Chat
-
Request Import: Simply type:
Import all my WordPress articlesOr:
Import all WordPress posts to this sheet -
Confirm: SheetXAI will ask for confirmation:
- "I'll help you import all your WordPress articles. Should I proceed?"
- Answer: "Yes" or "Yes, please go ahead"
-
Wait for Processing: SheetXAI will:
- Connect to your WordPress site
- Retrieve all published articles
- Create a new sheet with all your blog posts
- Organize data with columns for title, content, categories, URLs, etc.
Imported Data Structure
When you import WordPress posts, SheetXAI creates a sheet with columns including:
- Title (Column A) - Post titles
- Content (Column B/C) - Full post content
- URL (Column L) - Post URLs
- Categories - Post categories
- Tags - Post tags
- Status - Post status (publish, draft, etc.)
- Featured Image - Featured image URLs
- Post ID - WordPress post ID (for updating)
Step 2: Set Up Your Columns
Before generating summaries and link suggestions, you'll need to create three new columns:
- Article Summary (Column M) - One-line summaries of each article
- Internal Link Suggestions (Column N) - AI-generated link suggestions
- Updated Blog (Column O) - Articles with internal links added
Why One-Line Summaries?
If you have hundreds or thousands of articles, providing full content to the AI would be too much context. One-line summaries give the AI enough information to understand what each article is about without overwhelming it.
Step 3: Generate Article Summaries
Now you'll generate concise, one-line summaries for each article. These summaries help the AI understand article content when suggesting internal links.
The Prompt
Use this SAI formula in Column M:
#SAI !ARRAY Generate a concise 1-line summary for the blog article provided below.
The summary should:
- Be a single sentence (no line breaks)
- Capture the SPECIFIC focus/angle and 2-3 key subtopics covered
- Be 20-30 words (elaborate enough to be descriptive but still concise)
- Focus on WHAT the article covers, not why it's important
- Use clear, descriptive language that helps identify article relevance
- AVOID generic phrases - lead with the specific capability, use case, or unique angle
- Make the summary detailed enough that someone could understand the article's specific focus without reading it
Article to summarize:
#C
How to Use
-
Label Column M: Type "Article Summary" in the header (M1)
-
Enter the Formula: In cell M2, paste the prompt above
-
Run: The
!ARRAYcommand will process all rows automatically -
Wait for Results: SheetXAI will generate a one-line summary for each article
Example Output
- "Article details how AI revolutionized spreadsheet automation, transforming Excel functions by enabling natural language commands and bulk data processing."
- "Guide explains how to use VLOOKUP in Google Sheets with step-by-step examples for matching data across multiple columns."
Step 4: Generate Internal Link Suggestions
This is where the magic happens. SheetXAI will analyze your articles and suggest relevant internal links.
The Prompt
Use this SAI formula in Column N:
#SAI !ARRAY I need help with internal linking for SEO.
I want to add internal links FROM the current article TO relevant pages in our website (excluding the current article itself).
Requirements:
- Find EXISTING phrases within the article's sentences that would make good anchor text (do NOT create new phrases - extract them directly from the article)
- The anchor text MUST be a word-for-word excerpt from a sentence already in the article
- DO NOT use text from titles, headings, or subheadings - only use text from body paragraphs and sentences
- Each anchor should be a SHORT, specific phrase (2-5 words max, not lists of multiple concepts)
- Match anchors to URLs that are highly relevant to that specific anchor text
- DO NOT suggest linking to the current article URL
- DO NOT suggest multiple anchor texts from the same sentence - each sentence can only be used ONCE for internal linking
- Aim for approximately 1 internal link per 100-150 words of article content as a MAXIMUM (count the article word count first, then suggest an appropriate number of links - do not exceed this ratio)
- Prioritize quality over quantity - only suggest the most relevant, natural anchor opportunities
- Avoid forced or awkward placements
π¨ CRITICAL RULE - EACH URL CAN ONLY BE USED ONCE π¨
Before suggesting a URL, check if you've already used it in a previous suggestion.
If you have already suggested a URL, you MUST choose a different URL for the next anchor.
Track which URLs you've used and DO NOT repeat them.
EVERY URL in your output must be unique - no exceptions.
CRITICAL OUTPUT FORMAT:
For each suggestion, provide THREE parts separated by arrows (β):
1. The COMPLETE sentence from the article (copy it exactly as written)
2. The anchor text (the specific phrase within that sentence to link)
3. The URL to link to
Put TWO line breaks between each suggestion for readability.
Example format:
"Organizations can leverage Natural language processing (NLP) tools to analyze sentiment and extract insights from unstructured data." β Natural language processing (NLP) β https://example.com/nlp-article
"Another sentence about data security." β data security β https://example.com/security-article
Current article URL (DO NOT LINK TO THIS): #L
All blog pages on our website (urls + 1-line summaries):
#L2:M
Article to add internal links to:
#C
FINAL REMINDER:
1. Do not include #L in any of your URL recommendations
2. Each URL must appear only ONCE in your entire output - verify no duplicates before submitting
3. Each sentence can only be used ONCE - do not create multiple links from the same sentence
4. Do NOT use titles, headings, or subheadings for anchor text - only use body text
How to Use
-
Label Column N: Type "Internal Link Suggestions" in the header (N1)
-
Enter the Formula: In cell N2, paste the prompt above
-
Run: The
!ARRAYcommand will process all rows automatically -
Wait for Results: SheetXAI will analyze each article and suggest internal links
Understanding the Output Format
The output will look like this:
"Streamlined operations can significantly improve efficiency in modern businesses." β Streamlined operations β https://yoursite.com/streamlined-operations
"Data privacy is crucial for maintaining customer trust." β Data privacy β https://yoursite.com/data-privacy
Each suggestion includes:
- Full sentence: The complete sentence from your article
- Anchor text: The specific phrase to turn into a link
- URL: The destination URL for the link
This format is crucial because when you update the article, SheetXAI needs to know exactly which sentence to find and which words to link.
Why This Format Works
Many internal linking tools only give the AI the URL and expect the slug to be good enough. With SheetXAI, you're giving the AI:
- The full sentence context
- The exact anchor text
- The destination URL
- A summary of the target article
This results in much more accurate and contextually relevant internal links.
Step 5: Update Articles with Internal Links
Now you'll update each article by adding the suggested internal links.
The Prompt
Use this SAI formula in Column O:
#SAI !ARRAY Please update this blog article by adding the internal links specified below.
Original blog article:
#C
Internal links to add (Full sentence β Anchor text β URL):
#N
Instructions:
- Find each full sentence in the article
- Convert the specified anchor text into a hyperlink using standard HTML anchor tag format where href attribute contains the URL
- Keep all other content, formatting, and HTML tags exactly the same
- Return the complete updated article in the EXACT SAME FORMAT as the original (including all paragraph tags, line breaks, and HTML structure)
Output the full article with all internal links properly hyperlinked as clickable HTML links.
How to Use
-
Label Column O: Type "Updated Blog" in the header (O1)
-
Enter the Formula: In cell O2, paste the prompt above
-
Run: The
!ARRAYcommand will process all rows automatically -
Wait for Results: SheetXAI will update each article with internal links in HTML format
Output Format
The updated articles will have HTML anchor tags like this:
<p>Streamlined operations can significantly improve <a href="https://yoursite.com/streamlined-operations">efficiency</a> in modern businesses.</p>
This HTML format is perfect for WordPress, which will automatically render the links when you publish.
Step 6: Update WordPress Posts
Once all your articles are updated with internal links, push the changes back to WordPress.
How to Update
-
Rename Column: Change the column header from "Updated Blog" to "New Updated Content" (or any name you prefer)
-
Request Update: In SheetXAI chat, type:
Update these WordPress posts with the new updated contentOr:
Push these changes back to WordPress -
Activate Integration (if needed): If you DON'T already have WordPress integration active and you see the WordPress integration pill, click Add Integration and select WordPress
-
Confirm: SheetXAI will ask:
- "Should I proceed with this update?"
- Answer: "Yes"
-
Wait for Processing: SheetXAI will:
- Identify which posts have been modified
- Update each post in WordPress with your changes
- Show a status update for each post
Update Status
You'll see a status update showing:
- Which posts were successfully updated
- Any errors that occurred
- Total number of posts processed
Complete Example Workflow
Here's a complete example of the entire process:
Step 1: Import
You: "Import all my WordPress articles"
SheetXAI: "I'll help you import all your WordPress articles. Should I proceed?"
You: "Yes"
[New sheet created with all blog posts]
Step 2: Set Up Columns
- Column M: "Article Summary"
- Column N: "Internal Link Suggestions"
- Column O: "Updated Blog"
Step 3: Generate Summaries
[Paste summary prompt in M2]
[Wait for all rows to process]
[Each row now has a one-line summary]
Step 4: Generate Link Suggestions
[Paste link suggestions prompt in N2]
[Wait for all rows to process]
[Each row now has link suggestions in format: sentence β anchor β URL]
Step 5: Update Articles
[Paste update prompt in O2]
[Wait for all rows to process]
[Each row now has updated article with HTML links]
Step 6: Publish to WordPress
You: "Update these WordPress posts with the new updated content"
SheetXAI: "Should I proceed with this update?"
You: "Yes"
[All posts updated in WordPress]
Benefits of This Workflow
Time Savings
- Manual Process: Adding internal links to 100 articles manually could take 10-20 hours
- With SheetXAI: The entire process takes 3-4 minutes for hundreds of articles
Quality Improvements
- Context-Aware: AI analyzes actual article content, not just URLs
- Natural Placement: Links are placed in natural, relevant locations
- Relevant Suggestions: Summaries help AI find the most relevant links
Scalability
- No Limits: Process 10 articles or 10,000 articles - same workflow
- Consistent Quality: Every article gets the same level of attention
- Automated: No manual copy-pasting or link checking
Best Practices
Before Starting
- Backup Your WordPress Site: Always backup before bulk updates
- Test with a Few Posts: Try the workflow with 2-3 posts first
- Review Sample Output: Check the summaries and link suggestions before updating all posts
During the Process
- Monitor Progress: Watch as SheetXAI processes each row
- Check Sample Results: Review a few summaries and link suggestions to ensure quality
- Verify Format: Make sure the updated articles have proper HTML formatting
After Updating
- Review Updated Posts: Check a few posts in WordPress to verify links work
- Test Links: Click through some internal links to ensure they work correctly
- Monitor SEO: Track your SEO metrics to see improvements from internal linking
Troubleshooting
Import Issues
Problem: WordPress import fails
- Solution: Verify your WordPress credentials in Settings
- Solution: Check that your WordPress site allows REST API access
- Solution: Ensure you've added the WordPress integration to your sheet
Summary Generation Issues
Problem: Summaries are too generic or too long
- Solution: The prompt is optimized for 20-30 word summaries. If results vary, you can refine the prompt
- Solution: Check that Column C contains the full article content
Link Suggestion Issues
Problem: No link suggestions generated
- Solution: Verify that Column L contains URLs and Column M contains summaries
- Solution: Check that Column C contains the article content
- Solution: Ensure the range
#L2:Mincludes all your blog data
Problem: Too many or too few links suggested
- Solution: The prompt aims for 1 link per 100-150 words. This is adjustable in the prompt
- Solution: Review the suggestions and adjust the ratio if needed
Update Issues
Problem: Articles not updating in WordPress
- Solution: Verify the Post ID column wasn't deleted or modified
- Solution: Check that WordPress integration is active
- Solution: Review the update status message for specific errors
Problem: Links not appearing correctly
- Solution: WordPress should render HTML anchor tags automatically
- Solution: Check that the updated content column contains proper HTML
- Solution: Verify links in WordPress editor to ensure they're clickable
Advanced Tips
Customizing Link Density
Adjust the link density in the link suggestions prompt:
- More Links: Change "1 internal link per 100-150 words" to "1 internal link per 80-100 words"
- Fewer Links: Change to "1 internal link per 150-200 words"
Filtering Articles
Before processing, you can filter articles:
- Only process articles from specific categories
- Only process articles published in a certain date range
- Exclude certain article types
Batch Processing
For very large sites (1000+ articles):
- Process in batches of 100-200 articles
- Review results between batches
- Adjust prompts based on results
Related Resources
- WordPress Integration Guide - Complete guide to WordPress integration
- SAI Formula Guide - Learn more about SAI formulas
- Bulk Content Generation - Generate content at scale
Ready to boost your SEO with internal linking? Set up your WordPress integration, import your articles, and let SheetXAI automate the entire process - from summaries to link suggestions to publishing updates!