How to create a visual map of internal links in your archive
A visual map of internal links turns a dispersed archive into a navigable network. Each node can represent a page, article, review, category index or landing page, while each directed edge represents an HTML hyperlink. The result reveals which material is well connected, which pages act as gateways and where readers can reach a dead end. For a small domain resource hub, this diagram is useful for both navigation and stewardship because it shows the shape of the collection without requiring someone to open every saved page.
Begin with one preserved snapshot rather than the entire history at once. On the Papa John Phillips domain, that snapshot might include the landing pages, archived news, community-focused articles and historical sections available at a particular date. A controlled starting point produces a clearer diagram, gives each crawl a defensible timestamp and makes later comparisons possible. The visual map can then evolve alongside the archive without losing sight of how its information was once organised.
Set the purpose and boundaries
Decide what the map needs to reveal before collecting any data. It might be intended to identify orphaned pages, show relationships between subject areas, support navigation for visitors or record how a particular collection was connected. Each purpose benefits from slightly different information. A maintenance map may prioritise redirects and broken links, while a public-facing map might emphasise categories and pathways through the material.
Choose the unit that will appear as a node. HTML documents are the usual choice for an internal-link graph, but you may also want to represent archive folders, tag pages or individual images that have their own description pages. Keep those levels visually distinct. Combining a category index and its articles into one node can conceal the very hierarchy you hope to inspect.
Set boundaries that suit the collection. Most archives should exclude external websites, email addresses, downloadable files and purely administrative URLs from the main graph. They can still be counted in a separate report. This is particularly important for libraries such as the State Library of New South Wales or the State Library Victoria, where linked catalogues and community collection pages may point into several different systems rather than one uniform website.
Build a reliable URL inventory
Create a list of every eligible URL and record basic details before drawing anything. Useful columns include the URL, page title, HTTP status, crawl date, canonical address, file type and location within the archive. Normalise obvious differences such as trailing slashes, repeated index.html suffixes and inconsistent capitalisation, but preserve meaningful query parameters used for filters or searches.
Check the XML sitemap as a starting point, not as a complete substitute. A sitemap tells you which pages exist, while an internal-link map shows how those pages connect. Archived sites may also contain pages missing from the sitemap, navigation generated by scripts and links embedded only in page footers. Community history groups in Bathurst, Bendigo and Hobart, for example, often publish pages through several inherited templates or small software systems.
A useful inventory contains:
- The normalised URL and original archived URL
- Page title, publication date and collection section
- HTTP status, canonical URL and redirect destination
- Crawl depth and count of outgoing internal links
Export this information as CSV or JSON so the inventory can be reused after the diagram is generated. Retaining the source data matters because a map is only a snapshot, while the inventory supports audits, content migrations and comparisons between collections.
Crawl links without overwhelming the archive
Configure the crawler to stay on the selected host and follow one redirect at a time. Set a conservative request rate, exclude common administrative paths and stop at a defined crawl depth. Infinite calendars, faceted search results and calendar-style date archives can create thousands of URLs that add visual noise without improving the map. Record those URLs separately if their existence is historically relevant.
Australian connections vary from metropolitan fibre to fixed wireless and satellite services in regional areas, so a crawler run from a community archive may need a slower request rate than one running from a Sydney or Melbourne office. Australia also spans several time zones. Scheduling a long crawl outside the archive’s busiest hours reduces pressure on shared infrastructure and makes the run easier to monitor from different states.
The crawler should capture the source URL, destination URL, anchor text and link type. Ordinary links create directional edges; redirects can be shown as another relationship; fragment links can point to a page and its named section. Links activated only by JavaScript need special handling because a basic HTML crawler may not discover them. For ready-made options, the review of website archiving tools explains how to collect and preserve a site before you analyse its link structure.
Convert crawl data into a visual map
Treat the crawl results as a directed graph. URLs become nodes and hyperlinks become edges. A network visualisation tool can then arrange the nodes automatically, while a diagramming tool such as Graphviz can produce a more controlled, repeatable image. For larger collections, software such as Gephi offers flexible layouts and filters, although its interface requires more learning than a spreadsheet-based workflow.
Use colour, size and shape to communicate meaning. Assign colours to major archive sections, such as reviews, historical records, community articles and reference pages. Size nodes according to inbound links, crawl depth or another agreed measure. Keep the visual legend beside the finished map, because a network diagram becomes confusing when readers cannot interpret its symbols.
Test the layout at several levels. A full archive may appear dense, so provide views filtered by section, date or status. A focused view can reveal the pathway from the homepage to a news article, while the complete graph can expose links between otherwise separate collections. Save an SVG or HTML version alongside a PNG so the map remains sharp on large displays and searchable for particular pages.
Avoid relying exclusively on a force-directed layout. Such layouts place strongly connected material near the centre but can scatter related folders unpredictably. Hierarchical, radial and community-based arrangements often make archive structures easier to understand. A good final map is not simply the one with the most attractive shapes; it is the one that communicates the structure accurately.
Interpret clusters, gaps, and dead ends
Look for clusters of densely connected pages, isolated nodes and bridges between major sections. A dense cluster may indicate a strong subject grouping, repeated navigation links or a template that points back to the same hub. An isolated node may be genuinely valuable but poorly connected, or it may simply be a page that exists outside the crawl boundary. Isolated material deserves review rather than automatic deletion.
Trace every major route from the landing page. Follow the links as a visitor would, noting where the destination changes abruptly, returns to the homepage or leads to a page with no onward path. In Australian archival work, it is worth having a squiz at the journey rather than judging each screen in isolation. “Linking up” the old material with the current navigation often reveals practical problems that page-level metrics hide.
The following signals deserve attention:
- Orphan pages with few or no inbound links
- Redirect chains that add unnecessary steps
- Pages linking to missing or excluded destinations
- Repeated navigation that obscures contextual links
Broken paths and orphan pages can then be connected, redirected or clearly labelled. Avoid changing historical URLs merely to improve the diagram. The map should describe the archive as it exists; any intervention belongs in a separate, documented maintenance phase.
Compare ways to present the map
The best format depends on whether the map is for maintainers, researchers or visitors. A static image works well for reports, archived PDFs and quick reference. An interactive network allows readers to select nodes, filter sections and follow individual paths. A simplified diagram is usually better for a homepage because it needs to communicate organisation without becoming a technical tool.
Choose tools according to the skill and scale involved. Spreadsheet software may suit a small archive with a few hundred pages, while Gephi or a similar network application handles larger collections more comfortably. Programmatic tools offer precision but require additional maintenance. The following comparison matches common approaches with their strongest use cases and limitations.
| Approach | Best suited to | Main advantage | Main limitation |
|---|---|---|---|
| Hand-built diagram | Small, stable collections | Clear and easy to publish | Becomes tedious as pages increase |
| Spreadsheet with NodeXL | Small teams working in Excel | Low learning curve | Limited styling and layout control |
| Graphviz output | Repeatable technical reports | Precise, scriptable layouts | Requires configuration and command-line tools |
| Gephi network file | Larger or changing archives | Strong filtering and exploration | Interactive file may be less accessible to visitors |
| Embedded HTML map | Public archive navigation | Lets readers investigate individual routes | Needs hosting, updates and accessible alternatives |
Whichever approach you select, provide a text-based page index as well. Some readers will use a screen reader, a low-bandwidth connection or a device that cannot display the diagram comfortably.
Keep the archive navigable over time
Store the crawl inventory, graph file, finished diagrams and notes together in the preservation record. Include the crawl date, software version, crawl limits and any pages excluded from the graph. This makes the map auditable and allows maintainers to explain why a connection appears or disappears after a redesign, content migration or domain change.
Review the network after meaningful structural updates. Archival material may remain stable while navigation, menus and landing pages change. A quarterly crawl may suit an active site; an annual review may be enough for a quiet collection. The schedule should follow the rate of change rather than a rigid ritual, and each new snapshot should remain available for comparison.
Preservation also involves permissions and attribution. That same rule matters when an archive republishes material originally shared in a messaging channel: an overview of content protection and reposting shows why source settings and attribution deserve a place in the preservation record. Australian archive operators should also consider the Privacy Act 1988 and the Copyright Act 1968 when deciding what metadata, images or archived content can be republished.
Create the first map now: preserve one snapshot, run a controlled crawl, publish the visual beside the archive, and schedule the next crawl after the next content migration.