FG
💻 Software

Using wget to mirror a website and everything from the first level of external sites

Fresh5 days ago
Mar 15, 202611814 views
Confidence Score0%
0%

Problem

I need to mirror a particular website (all the pages under that particular domain) any pages (but not whole sites) that the website links to. I'm confused about the how to do this (or some other variant) will mirror the site. will get all the links (from all domains) to the first level. Anyone have…

Error Output

wget -r --level=inf

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using wget to mirror a website and everything from the first level of external sites

Low Risk

This is unfortunately impossible with wget (and the attempt at solving this with does not do what you expect). What you want is HTTrack. This can also be abbreviated as . Note that HTTrack counts levels starting at 1, not 0, so it won't follow links…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment