How to Fix Too Many On-Page Links (Over 150 per Page)

This check flags pages whose HTML contains more than 150 links. These pages usually get there through shared templates: a mega menu, a large footer, filter links, or a mobile menu rendered as a second copy of the desktop menu. By the end of this guide you will have measured link counts per template, removed or merged the links that add nothing, and confirmed that your pages are under 150 links.

By Updated ⏱ 1–3 hours🎯 Intermediate● Low impactOn-Page
Illustration: Too many on-page links (>150) fix guide
ON-PAGE · FIX GUIDE Too many on-page links (>150) IMPACTEFFORT TIME1–3 hours LEVELIntermediate

Why it matters

Every link on a page shares that page's internal link equity. When 200 links sit in the menu and footer of every page, your important category and money pages get the same weight as a privacy policy or a tag archive. Crawlers also take longer to tell which pages matter.

Users scanning a crowded menu click less and bounce more. The impact on rankings is small, but this is one of the few template fixes that improves every page at once.

✕Beforehttps://example.com/shoes/ has 312links: 140 in the mega menu, 140 in aduplicate mobile menu, and 32 in the✓Afterhttps://example.com/shoes/ has 96links: a 25-link main menu renderedonce, a 20-link footer, and 51

What you need

Admin access to your CMS menus, theme or templates
A browser with DevTools (Chrome, Edge or Firefox)
A site crawler such as Screaming Frog SEO Spider or Sitebulb, or the audit report listing flagged URLs
Analytics data (GA4 or similar) showing which menu and footer links get clicks

Step-by-step fix

1

Measure link counts on each flagged template

Open a flagged URL from the audit, open DevTools (F12) and paste the snippet below into the Console. It prints the total number of links, how many are unique, and how many sit in each page region. Run it on one page of each template type: home, category, product or article, and blog index.

Total is the figure the audit compares against 150. It counts duplicate links too, not just unique ones.

javascript
const links=[...document.querySelectorAll('a[href]')];
console.log('Total:',links.length,'Unique URLs:',new Set(links.map(a=>a.href)).size);
['header','nav','main','aside','footer'].forEach(s=>console.log(s+':',document.querySelectorAll(s+' a[href]').length));
Pro tip: To check the raw server HTML, run: curl -s https://example.com/shoes/ | grep -oi '<a[[:space:]]' | wc -l. If this number is much lower than the console count, a script is injecting the extra links.
2

Find which template regions add the most links

Compare the region counts from step 1. The usual sources are:

  • a mega menu listing every subcategory
  • a mobile menu that is a second, hidden copy of the desktop menu
  • a footer with 50+ links
  • sidebar tag clouds or archive lists
  • faceted filter links on category pages
  • product cards that link the image, title and button separately

Also export menu and footer click data from GA4 (Reports > Engagement > Events, filtered by your link-click event) to see which links people actually use.

Pro tip: In Screaming Frog, the Outlinks column (Internal tab) shows link counts for every URL. Sort it in descending order to see which templates are worst.
3

Cut the mega menu down to hub links

Keep the top-level categories and only the most-used subcategories. A good target is 20–40 menu links in total. Move deep links (third-level categories, brands, sizes) onto the category hub pages, where they are relevant to the page.

Remove menu links to pages with almost no clicks or entrances unless they are commercially important.

Pro tip: Add a 'View all Shoes' link at the bottom of each menu column. It replaces 15 deep links with one link to a hub page that holds them in context.
4

Slim the footer to essential links

Group the footer into 3–4 short columns, such as Company, Help, Legal and Social, with 15–30 links in total. Remove repeated category lists, city or keyword link blocks, and any duplicate of the main menu. Pages like sitemap, careers or press can live on a single 'Company' page instead.

5

Render navigation once and merge duplicate links

Many themes output a full desktop menu and a separate mobile menu in the same HTML, which doubles the link count. Use one menu and change its layout with CSS media queries, or load the mobile panel only when someone opens it. On product and article cards, wrap the whole card in a single link instead of linking the image, title and 'View' button separately.

Hiding links with CSS (display:none) does not reduce the count.

html
<!-- Before: 3 links per card -->
<a href="/p/runner-x"><img src="runner-x.jpg" alt="Runner X"></a>
<a href="/p/runner-x">Runner X</a>
<a href="/p/runner-x">View</a>

<!-- After: 1 link per card -->
<a href="/p/runner-x" class="card">
  <img src="runner-x.jpg" alt="">
  <h3>Runner X</h3>
  <span class="card-cta">View</span>
</a>
Pro tip: Leave the image alt text empty inside a linked card that already contains the product name, so screen readers do not read the name twice.
6

Turn filters and tag clouds into non-link controls

Faceted filters (size, colour, price) rendered as <a> links can add 100+ links to each category page. They also create crawlable parameter URLs. Use form checkboxes or buttons that apply filters with JavaScript or a GET form instead.

Replace sidebar tag clouds and full monthly archive lists with a link to a single archive or topic index page.

html
<form action="/shoes/" method="get" class="filters">
  <fieldset>
    <legend>Size</legend>
    <label><input type="checkbox" name="size" value="42"> 42</label>
    <label><input type="checkbox" name="size" value="43"> 43</label>
  </fieldset>
  <button type="submit">Apply</button>
</form>
Pro tip: Limit 'Related posts' and 'You may also like' blocks to 4–8 items, and pagination to about 5 page numbers plus next and previous links.
7

Re-crawl and confirm pages are under 150 links

Clear any page and CDN caches, then run the step 1 console snippet again on each template. Re-crawl the site with your crawler or re-run the audit. The share of flagged pages should drop sharply, because the fixes apply to shared templates.

Any pages still flagged are usually long-content exceptions, such as a sitemap page or a large glossary. You can accept those, or split them into multiple pages.

Platform-specific notes

WordPress

Classic themes: edit menus in Appearance > Menus. Block themes: edit the Navigation block in Appearance > Editor > Navigation. Footer widgets and tag clouds are under Appearance > Widgets, or in the Footer template part in the Site Editor. Mega menu plugins (Max Mega Menu, Elementor Mega Menu) store columns separately, so check their settings too. Some themes, such as Astra, output a separate mobile header. Use the theme's 'same menu for mobile' option if it offers one.

Shopify

Menus live in Online Store > Navigation. The nesting depth there controls the size of the mega menu. Footer link lists are added in Online Store > Themes > Customize > Footer section. In Dawn-based themes, filters from the Search & Discovery app are form inputs, but product cards may link both the image and the title. To merge them into one link, edit snippets/card-product.liquid.

Webflow

Edit the Navbar and Footer components once in the Designer and every page updates. Avoid building a second hidden navbar for mobile. Use the Navbar's built-in responsive menu instead. Collection List links inside a dropdown count toward the total, so set a limit in Collection List Settings.

Next.js / React

Shared navigation usually sits in app/layout.tsx or a Header component. Render the mobile drawer conditionally (for example, only when it is open) instead of mounting both versions in the server HTML. Link prefetching does not change the count. Only the rendered <a> elements matter.

Wix

Manage menus in the Editor via the Menus & Pages panel. Wix renders hidden menu items into the HTML, so delete unused items rather than hiding them. In Wix Stores, use built-in filters rather than lists of links to category pages.

Check that it worked

✅ How to verify

  • Run the DevTools console snippet on each template and confirm Total is below 150.
  • Run curl -s https://example.com/shoes/ | grep -oi '<a[[:space:]]' | wc -l on the live server HTML and check the number is below 150.
  • Re-crawl with Screaming Frog or Sitebulb, sort by Outlinks, and confirm no key templates exceed 150.
  • Re-run the site audit and check that the number of pages flagged for this check has dropped.

⚠️ Common mistakes

  • Adding rel="nofollow" or hiding links with CSS. The links are still in the HTML and still count.
  • Removing links to important category or revenue pages instead of moving deep links onto hub pages. This can orphan pages that relied on site-wide links.
  • Fixing the desktop menu but leaving a duplicate mobile menu in the markup, so the count barely changes.
  • Editing one page instead of the shared header, footer or card template that produces the links on every page.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Does Google penalize pages with more than 100 or 150 links?

No. Google dropped its old 100-link guideline years ago and says to keep link counts reasonable. 150 is a practical threshold. Above it, each link passes less value and the navigation is harder to use.

Do duplicate links to the same URL count toward the limit?

Yes. Every <a href> element on the page counts, so a link repeated in the logo, menu, breadcrumb and footer counts several times. Merging duplicates is often the quickest way to cut the total.

Will making links nofollow fix the too-many-links warning?

No. Nofollow links are still links in the HTML, and Google still uses the link-equity share they would have taken. Remove the link, or turn it into a non-link control such as a filter checkbox.

How many links should a page have?

There is no exact number. Most well-structured pages fall between 40 and 120, including the menu and footer. Aim for site-wide navigation under about 60 links and leave the rest for contextual links in the main content.