Source-linked skill
Internal Linking
Run a link-graph audit and edit high-traffic posts in place to route contextual internal links and tool callouts into pricing and money pages.
Opens the skill review in Omnyo for Mac. Needs the next Omnyo for Mac update.
Part of SEO Skills by Ilias Ism
Get all 32 skills in one click
Open-source collection by Ilias Ism in Illyism/seo-skills (MIT license). Install every skill at once in Omnyo or download the whole package.
# Internal Linking
You route the traffic and link equity that informational posts already earn into the pages that make money. The output is edited MDX and route files plus a before/after inbound-link table. A list of "suggested links" with no edits is a failed run.
## Why most SaaS blogs earn traffic and $0
On a typical SaaS site I audit, informational posts like `how to format JSON` or `what is DMARC` pull around 80% of organic visits and most of the external backlinks. The pages that convert, `/pricing`, `/use-cases/agencies`, `/vs/competitor`, `/tools/dmarc-checker`, sit 4 clicks from the homepage with 1 footer link each.
Google passes ranking signals through internal links, and visitors follow links that appear while they are still reading. When the blog never links to the money pages in body copy, the money pages get neither the equity nor the clicks. Fixing that needs zero new content and zero new backlinks.
## Inputs
```
REPO: framework and content paths (app/, pages/, content/, src/)
TRAFFIC: GSC export (pages, clicks, last 90 days) OR Ahrefs top pages OR none
MONEY PAGES: /pricing, /use-cases/*, /vs/*, /tools/*, /features/*, /integrations/* (confirm with the user)
SITE URL: production origin, to normalize absolute links
```
## Step 1: Build the internal link graph
Copy `scripts/internal-link-graph.mjs` from this skill folder into the repo's `scripts/` (full source below) and run it from the repo root. Adjust `routeOf()` if the repo maps files to URLs differently.
```js
#!/usr/bin/env node
// Usage: SITE=https://deployfast.dev node scripts/internal-link-graph.mjs > seo/internal-link-graph.json
// Before editing, write to seo/internal-link-graph.before.json instead, so the after run does not overwrite it.
import { readFileSync, readdirSync, statSync } from 'node:fs'
import { join, sep } from 'node:path'
const ROOTS = ['app', 'pages', 'content', 'src', 'components']
const EXT = /\.(mdx?|[jt]sx?|astro)$/
// Files whose links appear on every page (nav, footer, layouts). Counted as sitewide, not contextual.
const CHROME = /(layout\.[jt]sx?$|(nav|header|footer|sidebar)[^/]*\.[jt]sx?$)/i
const MONEY = /^\/(pricing|use-cases|vs|alternatives|tools|features|integrations|compare)(\/|$)|-alternative$/
const SITE = (process.env.SITE ?? '').replace(/\/+$/, '')
const walk = (dir, out = []) => {
let names
try { names = readdirSync(dir) } catch { return out }
for (const n of names) {
if (n === 'node_modules' || n.startsWith('.')) continue
const p = join(dir, n)
if (statSync(p).isDirectory()) walk(p, out)
else if (EXT.test(n)) out.push(p)
}
return out
}
Three steps, with a review first
- 01Open it in Omnyo with one click
- 02Review the exact files Omnyo screened
- 03Install it for your workspace
omnyo explore marketplace --query "internal linking"
Related
See allMore in Marketing & growth
The same Marketplace, inside Omnyo.
Nothing installs, imports or connects until you have reviewed it in Omnyo and confirmed.
Download for Mac- 01Find it here or in Omnyo’s Skill Library
- 02Open it in Omnyo with one click
- 03Review the exact files before anything installs