In short
An unnecessary link is an internal link that neither helps visitors move forward nor helps search engines understand which pages matter: a tag cloud, date or author archives on a single-author site, the same page linked five times, a crawlable action link (“add to cart”, “print”), a list of footer links unrelated to the page. The task is to list the links in each template, make a decision for each family of links, then remove or replace those that serve no purpose. The result: easier-to-read pages, and internal links focused on the pages that matter.
Why it matters
Google writes it in its link best practices: there is no ideal number of links per page. So the problem is not a threshold, but what the links say. Every page on the site votes for the pages it links to; when every page links to forty tags, twelve monthly archives and the login page, these worthless URLs receive as many links as your commercial pages. Google states, in its documentation on e-commerce sites, that a page receiving more internal links is seen as relatively more important: template links skew that reading.
Unnecessary links also cost crawling. A crawlable link to an action (?add-to-cart=, ?print=1, ?share=) or to a filter combination opens up thousands of URLs that bots visit without finding anything. For visitors, a crowded menu or footer makes the important links harder to spot.
Removing a link is not free either: you need to keep everything that serves real navigation. Hence the method by template and by explicit decision, rather than a blind cleanup.
What it improves
- Reading of relative importance Strategic pages account for a larger share of internal links. An indirect effect on rankings, not guaranteed.
- Crawling Fewer requests to worthless URLs. The effect is noticeable mostly on sites with several thousand pages. See optimize crawl budget (opens in a new tab).
- Readability Shorter menus and footers, more visible important links.
- Page weight Less HTML to download when the menu or footer shrinks by several hundred links.
- AI answers A bot following links finds the pages that answer faster. A plausible effect, not proven.
How to check
With Search Console: in the Links report, in the table of top internally linked pages, look at the first twenty rows. If tag, author or login pages, or the legal notice, rank ahead of your commercial pages, your internal linking is unbalanced. The report is a sample, but the trend is reliable.
With Screaming Frog (free up to 500 URLs):
Internaltab,HTMLfilter: sort byUnique Outlinks. Pages built on the same template have similar values; a template with 300 outbound links deserves a closer look.Linkstab (recent versions): the filter for pages with a high number of internal outlinks isolates them.Bulk Export > Links > All Outlinks: open the export in a spreadsheet, build a pivot table on the destination column to see the most linked URLs, and on theLink Positioncolumn to see where the links come from (navigation, footer, sidebar, content).
By hand, on a typical page: count the links and the duplicates.
curl -s https://example.com/blog/chaudiere-qui-fuit/ | grep -oE 'href="[^"]*"' | sort | uniq -c | sort -rn | head -n 30
Targets that appear three times or more, and URLs with action parameters, are the first candidates.
How to implement
Step 1 — List the links by template
Choose one representative page per template (home page, category, product page, article, service page) and fill in this table:
| Template | Area | No. of links | Destinations | Useful to visitors? | Useful for internal linking? | Decision |
|---|---|---|---|---|---|---|
| Article | “Tags” sidebar | 48 | /tag/… |
No (never clicked) | No | Remove |
| Article | “Archives” sidebar | 36 | /2023/05/ … |
No | No | Remove |
| Article | “Recent posts” | 5 | 5 latest posts | Low | Low | Replace with related content |
| Category | “Add to cart” link | 24 | ?add-to-cart=… |
Yes (action) | No | Form button or exclusion via robots.txt |
| All | “Areas we serve” footer | 60 | Near-identical city pages | No | No | Remove, rework the pages |
| All | “Pricing”, “Contact” footer | 2 | Useful pages | Yes | Yes | Keep |
To find out whether an area is used, look at the clicks in Google Analytics or Matomo (outbound click events or a click map), if you measure them.
Step 2 — Decide with clear criteria
| Link type | Default decision |
|---|---|
| Duplicate to the same target in the same area | Keep a single link; the logo, breadcrumbs and menu can coexist |
| Tag cloud, date archives, exhaustive list of categories | Remove, unless real use is measured |
| Author archives on a single-author site | Remove the links; disable the archive or redirect it to the “About” page |
| Action links (cart, print, share, reply to a comment) | Form button, or keep the link and block the pattern in robots.txt |
| Links to filter or sort combinations | See control filters and facets (opens in a new tab) |
Links to noindex pages of no interest to visitors |
Remove; keep those that serve a purpose (cart, account, legal notice) |
| Keyword-stuffed lists of links in the footer | Remove. See optimize footer links (opens in a new tab) |
| Links to error or redirected pages | Fix. See fix broken links (opens in a new tab) |
Warning: do not mark unnecessary links
nofollowto “sculpt” your internal linking. Google does not recommendnofollowfor your own pages: for a URL you do not want crawled, it points to theDisallowrule inrobots.txt. A link nobody clicks and that does nothing for internal linking should simply go.
Step 3 — Remove the links in your tool
WordPress
Versions WordPress 6.4 and later (checked up to 7.1), Yoast SEO 20 and later, Rank Math 1.0, WooCommerce 9 and 10.
- Sidebar widgets and blocks:
Appearance > Widgetson a classic theme, orAppearance > Editor > Templateson a block theme. Remove the “Tag Cloud”, “Archives” and “Meta” (login link and feeds) blocks, and duplicate “Categories” blocks. - Author archives: on a single-author site, Yoast SEO lets you disable them (
Yoast SEO > Settings > Advanced > Author archives), and so does Rank Math (Titles & Meta > Authors). The disabled archive is redirected; also remove the “by Name” link from the post template if the author has no useful profile page. On a multi-author site, keep rich author pages: see link articles and author profiles (opens in a new tab). - Repeated recent post lists: a “Latest Posts” block on every page always links to the same recent content; in post templates, replace it with relevant related content (opens in a new tab).
- WooCommerce: on product lists, the “Add to cart” button is an
?add-to-cart=link that WooCommerce marksnofollow. If the server logs show that bots crawl it anyway, add this torobots.txt:
User-agent: *
Disallow: /*add-to-cart=
Shopify
Versions Shopify, all plans, Online Store 2.0 themes, November 2026.
- Menus:
Content > Menus. Cut the footer menu down to useful pages (contact, shipping, returns, pricing) and the main menu down to collections that have a reason to exist. - Product tag links: some themes display product or blog tags as links to URLs such as
/collections/the-vert/bioor/blogs/actualites/tagged/recettes. Remove them inOnline Store > Themes > Customize(relevant section) or in the theme code (Edit code, product card or article snippets). - Vendor links: a link on the vendor name points to a generated list. Remove it if you have no real brand pages.
PrestaShop
Versions PrestaShop 8 and 9.
Footer and column link blocks come from modules: in Modules > Module Manager, look for the link list module (ps_linklist) and your theme's keyword or tag blocks. Edit the blocks or disable the module. Design > Positions lets you unhook a module from a position without disabling it everywhere.
Magento
Versions Magento Open Source and Adobe Commerce 2.4.
Footer links are managed in Content > Blocks and Content > Widgets. The “Compare” and “Add to Wish List” links in product lists are removed in the child theme (XML layout files or product list templates).
Laravel
Versions Laravel 11 to 13.
Template links live in shared Blade components (resources/views/components/…, layouts/…). Two rules:
- Actions go through a form, not a link: a bot does not submit forms.
<form method="POST" action="{{ route('cart.items.store') }}">
@csrf
<input type="hidden" name="product_id" value="{{ $product->id }}">
<button type="submit">Add to cart</button>
</form>
- Link lists are limited and filtered: for example, show the five most useful categories rather than
Category::all().
Next.js
Versions Next.js 15 and 16 (App Router and Pages Router).
Same logic: an action is triggered by a <button> in a <form>, not by a <Link> to an action URL. Limit the lists generated in layout components to a few chosen entries.
App Router
The button submits the form to a Server Action. Shared links live in app/layout.tsx and its footer components.
Pages Router
Server Actions do not exist in the Pages Router: the form sends a POST to an API route (pages/api/…). Shared links live in pages/_app.tsx or in the layout component it wraps.
Step 4 — Check the effect
Recrawl the site and compare before and after:
| Metric | Before | After |
|---|---|---|
| Unique internal outlinks, article template | 186 | 74 |
| Share of internal links to strategic pages | 6% | 15% |
| URLs with action parameters discovered | 2,300 | 0 |
Made-up figures. Also check that the pages you removed links to have not become orphans: see detect orphan pages (opens in a new tab). The effects on crawling then show up in the Search Console crawl stats (opens in a new tab), over several weeks.
Common mistakes
- Removing links that visitors use: check the clicks before removing an entire area.
- Leaving pages with no links at all after the cleanup: a useful page removed from the footer must be linked elsewhere.
- Replacing links with JavaScript links that are “invisible” to bots while showing them to visitors: this is a form of manipulation, and these links often remain crawlable.
- Blocking URLs that carry a
noindexinrobots.txt: the bot no longer sees thenoindex. Only block URLs that must not be crawled at all. - Removing breadcrumbs on the grounds that they repeat the menu: they serve navigation and help convey the hierarchy.
- Judging from a single page: an unnecessary link in a template is repeated on thousands of pages; deal with templates first.
Frequently asked questions
Is there a maximum number of links per page?
No, Google states that there is no ideal number of links per page; the old advice to keep links to around a hundred no longer appears in its documentation. The useful question is a different one: does each link help the visitor or point to an important page? A page with three hundred template links to tags and archives dilutes that signal, even if Google can technically crawl them all.
Should unnecessary internal links be marked nofollow?
No. Google does not recommend the nofollow attribute for links to your own pages; for a URL that should not be crawled, it points to the Disallow rule in robots.txt. An unnecessary internal link should be removed. If it serves visitors, like a link to the cart, keep it as it is; if it triggers an action, replace it with a form button.
Should links to the legal notice and privacy policy be removed?
No, keep the links to the legal notice, terms of sale and privacy policy in the footer: visitors expect them, they are often mandatory, and they build trust. They are useful links even if they do nothing for SEO. The cleanup targets repetitive, unused lists, not trust pages.
Resources
- Google Search Central: Link best practicesdevelopers.google.com
- Google Search Central: Qualify your outbound linksdevelopers.google.com
- Google Search Central: Ecommerce site structuredevelopers.google.com
- Google Search Central: Managing crawl budgetdevelopers.google.com
- Search Console Help: Links reportsupport.google.com
- Shopify: Menus and linkshelp.shopify.com
Updated on
Topic checklist (PDF)