0
0
SeoHow-ToBeginner ยท 4 min read

How to Disavow Toxic Backlinks: Step-by-Step Guide

To disavow toxic backlinks, create a disavow.txt file listing harmful URLs or domains, then upload it via Google Search Console's Disavow Links tool. This tells Google to ignore those links when assessing your site.
๐Ÿ“

Syntax

The disavow.txt file uses a simple syntax to list URLs or domains you want Google to ignore. Each line contains one URL or domain. Lines starting with # are comments and ignored.

  • Domain-level disavow: Use domain:example.com to disavow all links from that domain.
  • URL-level disavow: Use the full URL like http://spamwebsite.com/badlink to disavow a specific page.
text
# Example disavow file
# Disavow entire domain
domain:spamdomain.com

# Disavow specific URL
http://badsite.com/badpage.html
๐Ÿ’ป

Example

This example shows a disavow.txt file disavowing one domain and one specific URL. Uploading this file in Google Search Console tells Google to ignore these backlinks.

text
# Disavow file example
# Ignore all links from spamdomain.com
domain:spamdomain.com

# Ignore a single bad URL
http://badsite.com/badpage.html
Output
Google will ignore backlinks from spamdomain.com and the specific URL http://badsite.com/badpage.html when assessing your site.
โš ๏ธ

Common Pitfalls

  • Disavowing good links: Accidentally disavowing quality backlinks can hurt your SEO.
  • Wrong file format: The file must be plain text (.txt) encoded in UTF-8 without extra formatting.
  • Not using domain prefix: Forgetting domain: means only a single URL is disavowed, not the whole domain.
  • Ignoring link audit: Always audit backlinks first to identify truly toxic links before disavowing.
text
# Wrong way (missing domain prefix)
spamdomain.com

# Right way
domain:spamdomain.com
๐Ÿ“Š

Quick Reference

ActionSyntax ExampleDescription
Disavow entire domaindomain:spamdomain.comIgnores all backlinks from the domain
Disavow specific URLhttp://badsite.com/badpage.htmlIgnores one specific backlink URL
Add comment# This is a commentIgnored by Google, used for notes
File formatPlain text (.txt)UTF-8 encoded without extra formatting
โœ…

Key Takeaways

Create a plain text disavow file listing toxic URLs or domains with correct syntax.
Use the Google Search Console Disavow Links tool to upload your disavow file.
Always audit backlinks carefully to avoid disavowing valuable links.
Use 'domain:' prefix to disavow entire domains, not just single URLs.
Check file format and encoding to ensure Google accepts your disavow file.