Skip to content

Improve internal linking between related blog posts #29

@kahboom

Description

@kahboom

Problem

Blog posts currently have minimal internal linking to related content. This affects:

  • User engagement and time on site
  • Content discoverability
  • SEO link equity distribution
  • Search engine understanding of content relationships
  • Crawl depth and efficiency

Proposed Solution

1. Related Posts Component

Create a "Related Posts" section at the end of each article that shows 2-3 related posts based on:

  • Shared tags
  • Similar topics
  • Recency

2. In-Article Contextual Links

Add contextual links within article content:

  • Link to related concepts explained in other posts
  • Reference previous/next posts in series
  • Link to foundational articles for advanced topics

3. Tag Pages Enhancement

Improve tag pages to show:

  • All posts with that tag
  • Related tags
  • Tag descriptions

4. Blog Archive/Index

Enhance /blog page with:

  • Better categorization
  • Tag filtering
  • Search functionality

Implementation Approach

// Example: Related Posts component
function RelatedPosts({ currentPost, allPosts }) {
  const related = allPosts
    .filter(p => p.slug !== currentPost.slug)
    .filter(p => p.tags.some(t => currentPost.tags.includes(t)))
    .slice(0, 3);
  
  return (
    <section>
      <h2>Related Articles</h2>
      {related.map(post => <PostCard key={post.slug} post={post} />)}
    </section>
  );
}

Benefits

  • ✅ Better user engagement and navigation
  • ✅ Improved SEO through internal link structure
  • ✅ Helps search engines understand content relationships
  • ✅ Distributes page authority across the site
  • ✅ Increases page views per session
  • ✅ Reduces bounce rate

Acceptance Criteria

  • Related posts component appears on all blog post pages
  • Shows 2-3 relevant articles based on shared tags
  • Posts link to related content within article body where relevant
  • Tag pages show all related posts and tags
  • Links use descriptive anchor text (not "click here")

Labels

enhancement, SEO, UX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions