wp2shell: more than a month later. Confirm 6.8.6, 6.9.5, 7.0.2. Patched is not clean.

Read the advisory

Toxic backlinks and negative SEO: what actually helps

How to disavow links in Ahrefs context: find toxic backlinks, build a disavow list, submit it in Google Search Console, and clean malware spam before you chase links.

Topics Hardening & checklists

Lars Koudal

Lars Koudal

Updated Published

“Negative SEO” usually means someone pointing junk links at your domain to try to hurt rankings. It is less common than people claim, and less effective than a real site compromise that injects spam. If you came here for Ahrefs disavow links help, start by separating external junk from on-site infection.

Separate two problems

External junk backlinks. Weird domains linking to you with spam anchors. Investigate with Google Search Console and a backlink crawler such as Ahrefs (Majestic or similar also work). Document patterns. Many links can be ignored; Google already discounts obvious spam.

On-site spam or malware. Injected pages, hidden links, or redirects on your host. That is an incident, not a disavow file. Start with WordPress malware removal and SEO recovery after a hack.

People search “how to disavow links in Ahrefs” because Ahrefs surfaces toxic backlinks clearly. The important detail: Ahrefs helps you find candidates. Google’s disavow tool is where you submit the file.

Practical workflow:

  1. Confirm the site is clean. If Search Console shows hacked content or you see spam pages on your domain, clean that first. Disavowing while malware still manufactures links wastes time.
  2. Export suspicious linking domains from Ahrefs (or from Search Console links reports). Focus on clear spam networks and toxic backlinks Ahrefs flags with patterns you can explain, not every low-DR blog mention.
  3. Build a plain-text disavow list with lines like domain:example.com for the worst confirmed spam networks. Prefer domain-level entries over endless URL lists when the whole site is junk.
  4. Submit the file via Google’s disavow tool for the correct Search Console property. That is the “Ahrefs upload disavow file” step people expect inside Ahrefs; it lives in Google.
  5. Keep a copy of the list. Revisit only when new evidence appears. Do not rebuild the file weekly out of anxiety.

Disavow is a scalpel. Overusing it can discard links you later wish you had kept. Google’s own guidance prefers fixing on-site issues and ignoring most low-quality links.

When you should not bother

  • A handful of random spam links with no ranking loss and a healthy site
  • Links that look like normal directory or partner noise
  • Anything you cannot explain as organized spam after a sober review

Chase malware and indexing issues harder than a vanity toxic score.

Harden so the next mess is smaller

Keep the site on the WordPress security checklist. Link spam is annoying. A hacked site that manufactures its own spam is career-level painful. If cleanup keeps looping, hire help or use a malware scanner after you regain clean access.

Found this useful? Share it.

Frequently asked questions

How do I disavow links in Ahrefs?+

Ahrefs does not submit a disavow file to Google. Use Ahrefs (or Search Console) to find toxic candidate domains, export them, build a plain-text disavow list with domain: lines, then upload that file in Google’s disavow tool for the correct Search Console property.

Can I upload a disavow file from Ahrefs?+

You can export linking domains from Ahrefs and turn the worst confirmed spam networks into a disavow list. The upload itself still happens in Google Search Console’s disavow tool, not inside Ahrefs.

Should I disavow every toxic backlink Ahrefs shows?+

No. Disavow is a scalpel. Google already discounts a lot of obvious spam. Overusing disavow can discard links you later wish you had kept. Fix on-site malware spam first, then disavow only clear, persistent spam networks.

Larger screenshot