On this page
What this issue is
Footer link spam is a set of links in your footer (or another sitewide area like the sidebar or header) that exist to pass ranking value to other sites, not to help visitors. They appear on every page, so one injected block creates thousands of outbound links.
There are two common forms. Visible spam: long lists of keyword links such as casino, pills or loans, or a long list of 'partner' sites. Hidden links: links tucked away with CSS (display:none, font-size:0, white text on white, or positioned far off screen) so people never see them but crawlers do.
Why it costs you leads or sales
The direct impact is usually low, but the risk is real. Spam links can lead search engines to doubt your site's quality, dilute your own internal links, and in bad cases trigger a manual action that drops pages from results. Injected links are also often a sign of a hack, which can lead to malware warnings, redirects and lost trust.
- Site is compromised or a bad theme is installedFooter code is added
- Hidden links on every pageOutbound spam links sitewide
- Search engines see low quality or spamRankings or trust drop
- Fewer visitors reach your forms and checkoutFewer leads and sales
The break happens at the injection. Everything after it is a consequence.
Example: organic visits to a site before the spam appears, while it is live, and after clean-up. Numbers are illustrative only.
How to check if your site has it
Look at the footer as a visitor
Scroll to the bottom of several pages. Note any links you do not recognise, odd keywords or long link lists.
View the page source
Open the page, press Ctrl+U (Cmd+Option+U on Mac) and search for
display:none,visibility:hidden,font-size:0,left:-9999pxandtext-indent:-. Check any links nearby.List all outbound links
In the browser console on any page, run the snippet below to list links that point to other domains and are not visible.
Crawl the site
Run a crawler such as Screaming Frog (free up to 500 URLs). Open the Outlinks report and sort by destination domain. Domains that appear on every page are sitewide links.
Check Google Search Console
Open Security & Manual Actions and look for 'Manual actions' and 'Security issues'. Also search Google for site:yourdomain.com with words like casino, viagra or loan to see if spam pages are indexed.
Compare with a clean source
View source as Googlebot would see it using the URL Inspection tool in Search Console, then 'View crawled page'. Hidden links may show there even if you cannot spot them in the browser.
const here = location.hostname;
const rows = [...document.querySelectorAll('a[href^="http"]')]
.filter(a => new URL(a.href).hostname !== here)
.map(a => {
const r = a.getBoundingClientRect();
const s = getComputedStyle(a);
const hidden = s.display === 'none' || s.visibility === 'hidden' || parseFloat(s.fontSize) < 4 || r.width < 2 || r.height < 2 || r.left < -1000 || s.opacity === '0';
return { href: a.href, text: a.textContent.trim().slice(0, 40), hidden };
});
console.table(rows);
console.log('Hidden external links:', rows.filter(r => r.hidden).length);How to fix it
Treat injected links as a possible security incident first. Removing the visible links without removing the cause means they will return.
Back up the site
Take a full backup of files and database before changing anything, so you can roll back if needed.
Find where the links come from
Check footer widgets, theme footer files, menus, plugins and scripts. Search the files for the spam domain or for suspicious code such as
base64_decode,eval(orgzinflate.Remove the links at the source
Delete the widget, menu item, plugin or code block that outputs them. Do not just hide them with CSS.
Replace nulled or untrusted themes and plugins
Reinstall themes and plugins from the official source or the vendor. Delete unused ones.
Secure access
Change all admin, hosting, FTP/SFTP and database passwords. Remove unknown admin users. Turn on two-factor authentication where available.
Keep only useful footer links
Keep links people actually use: contact, privacy, terms, key services or categories. Add
rel="sponsored"to any paid link andrel="nofollow"orugcwhere fitting.Ask Google to re-check if needed
If Search Console shows a manual action or security issue, fix it and then submit a review request explaining what you removed.
Check widgets and menus
Go to Appearance > Widgets (or Site Editor > Patterns/Template parts > Footer) and Appearance > Menus. Remove unknown links.
Check theme and plugin files
Open Appearance > Theme File Editor and inspect footer.php and functions.php for unknown code. Under Plugins, delete anything you do not recognise.
Scan and reinstall
Run a security scan with a reputable plugin, then reinstall WordPress core under Dashboard > Updates > Re-install version. Check Users for unknown administrators.
Edit the footer section
In Online Store > Themes > Customize, open the footer section and remove unknown blocks and menus. Also check Content > Menus.
Check theme code
In Edit code, search for the spam domain in footer.liquid, theme.liquid and the sections folder. Remove unknown scripts.
Review apps
Under Settings > Apps, uninstall apps you do not use. Leftover app code can stay in the theme, so search for it.
Look for injected Custom HTML tags
Open the container and review all Custom HTML tags and triggers. Links can be injected into the page by script.
Check version history and users
Open Admin > Versions to see recent changes, and Admin > User Management to remove unknown users. Pause or delete suspicious tags, then publish.
Check the footer symbol
In the Designer, open the footer Symbol (or Component) and remove unknown links. Check for elements set to Display: None.
Check custom code
Review Project Settings > Custom Code and each page's custom code for unknown scripts or embeds.
Edit funnel and website footers
Open the funnel or website builder, select the footer section and remove unknown links or hidden elements.
Check custom code areas
Review Settings > Custom Code and tracking code fields at funnel and page level for unknown scripts.
Check the footer
In the Editor, click the footer and review all elements, including hidden ones in the Layers panel.
Check custom code
In Settings > Custom Code, remove unknown scripts. Review Site Collaborators and remove unknown people.
Check the footer
Edit the footer and remove unknown links or blocks. Check Pages > Footer Navigation.
Check code injection
Under Settings > Advanced > Code Injection, remove unknown code. Review Contributors and remove unknown people.
Search the codebase
Search templates and includes for the spam domain,
display:nonelink blocks and obfuscated code. Compare files with version control or a known clean copy.Check server-level changes
Look at recently modified files, .htaccess rules, cron jobs and database content. Rotate all credentials after clean-up.
Before
- 40 unrelated keyword links on every page
- Some links hidden with font-size:0
- Injected by an unknown plugin
- Possible security warning in Search Console
After
- 6 useful links: contact, privacy, terms, key services
- Nothing hidden from visitors
- Unknown plugin removed and passwords changed
- Search Console clean
How to confirm it's fixed
- View source on the home page, a service page and a blog post: the spam domains no longer appear
- The console snippet reports 0 hidden external links
- A fresh crawl shows no outbound domains repeated on every page, other than ones you chose
- URL Inspection > View crawled page in Search Console shows a clean footer
- site: searches show no spam pages
- Search Console shows no manual action or security issue
- No unknown admin users, plugins or scripts remain
How to prevent it happening again
- Never use nulled or pirated themes and plugins
- Keep your CMS, themes and plugins updated and delete unused ones
- Use strong unique passwords and two-factor authentication
- Give people the lowest access level they need and remove old users
- Keep regular backups you have tested
- Ask agencies and freelancers to list any links they add to the footer
- Review footer links and outbound domains every quarter
- Turn on email alerts in Search Console for security and manual action issues
How FunnelGuard handles this
FunnelGuard does not check for footer link spam or hidden sitewide links today. It is a possible future check.
What FunnelGuard does do nearby: a robot visitor runs your real journeys (lead forms, checkouts, booking and chat buttons) on a schedule and checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads arrive. If injected code or a hack breaks a form, a button or your tracking, that failure can show up there, with a screenshot and a likely cause. That is a side effect, not a footer link check.
Questions people ask
What is footer link spam?
Footer link spam is a block of unrelated or keyword-stuffed links repeated in the footer of every page, usually to pass ranking value to other sites. It may be visible or hidden with CSS. It often comes from a hack, a nulled theme or old SEO work.
Are footer links bad for SEO?
No, normal footer links such as contact, privacy, terms and key categories are fine and help visitors. The risk comes from long lists of unrelated keyword links, paid links without rel="sponsored", or hidden links. Keep the footer short and useful.
Why are there hidden links in my website footer that I did not add?
The most common causes are a hacked site, a pirated theme or plugin, or a past SEO provider. The links are often hidden with CSS so you do not notice them. Search your files and plugins for the spam domain, remove the source, then change all passwords.
How do I find hidden links on my website?
View the page source and search for display:none, font-size:0 and left:-9999px, or run a console script that lists external links and checks if they are visible. A crawler such as Screaming Frog can also show outbound domains that repeat on every page. Check Google's cached view with URL Inspection too.
Does Google penalise hidden links?
Google's spam policies list hidden text and links as a violation, and link schemes are also covered. Consequences can include lower rankings or a manual action. Removing the links and filing a reconsideration request can restore your standing.
How do I remove spam links from my WordPress footer?
Check Appearance > Widgets or the Site Editor footer, Appearance > Menus, footer.php and functions.php, and your plugin list. Delete the source of the links, reinstall WordPress core and themes from official sources, remove unknown admin users and change all passwords.
Is a 'Powered by' credit link in my footer spam?
A single credit link to a theme or builder is not usually a problem. It becomes a concern if it uses keyword-rich anchor text, is hidden, or you were paid for it without marking it rel="sponsored". If in doubt, remove it or add rel="nofollow".
Can FunnelGuard detect footer link spam?
Not yet. It is a possible future check. FunnelGuard monitors your forms, checkouts, tracking and lead delivery, so a hack that breaks those journeys can show up, but you need a crawler or security scanner to find the links themselves.
Related issues
- SEO-118Too many links on a page diluting importanceFix guide
- SEO-117Generic anchor text ('click here') on internal linksFix guide
- SEO-116Main navigation missing key category or service pagesFix guide
- SEO-127Internal links to noindex or canonicalised pagesFix guide
- SEO-114Orphan money pages with no internal linksFix guide
- SEO-115Money pages more than 3-4 clicks from the home pageFix guide