---
title: "GitBook redirect for each dead URL, monthly · Hypamoon"
description: "Old links to your GitBook site that land on a 404 page? Each month a list of those addresses with a page to send them to, added as a redirect after your yes."
url: https://hypamoon.com/connect-to/gitbook/dead-urls
---

1.  [Connect to](https://hypamoon.com/connect-to)
2.  [Work and projects](https://hypamoon.com/connect-to/work)
3.  [GitBook](https://hypamoon.com/connect-to/gitbook)
4.  Redirect

# GitBook redirect for each dead URL, monthly: Send visitors who land on an old GitBook address to the page they were after.

Old links to your GitBook site that land on a 404 page? Each month a list of those addresses with a page to send them to, added as a redirect after your yes.

[Build this in ChatGPT](https://hypamoon.com/connect?chat=chatgpt&via=connect-to-chatgpt~gitbook/dead-urls&say=a%20monthly%20list%20of%20old%20addresses%20on%20my%20GitBook%20site%20that%20end%20on%20a%20404%2C%20with%20the%20best%20matching%20page%2C%20and%20a%20redirect%20for%20each%20one%20I%20approve.) [Build this in Claude](https://hypamoon.com/connect?chat=claude&via=connect-to-claude~gitbook/dead-urls&say=a%20monthly%20list%20of%20old%20addresses%20on%20my%20GitBook%20site%20that%20end%20on%20a%20404%2C%20with%20the%20best%20matching%20page%2C%20and%20a%20redirect%20for%20each%20one%20I%20approve.)

No account needed to try. See what you will ask your chat

Example

A monthly list of old addresses on my GitBook site that end on a 404, with the best matching page, and a redirect for each one I approve.

404 addresses in October

| Old address | Visits | Send to |
| --- | --- | --- |
| /v1/getting-started | 312 | /guides/quickstart |
| /api/auth-tokens | 148 | /api/authentication |
| /faq/billing | 57 | /account/invoices |

Example data, after your yes per line

-   On the first of the month you get a list of addresses on your site that returned a 404 last month, ordered by visits, each with the page that matches best and the sites that link to it.
-   After your yes, a redirect is added for each line you tick, and the next list shows whether the visits stopped.

From your GitBook account As a list

## Paste this in your chat

Your chat builds it and runs it every time, on your own GitBook data. No account needed to try.

The sentence

> With Hypamoon, on the first of every month, list the addresses on my GitBook site that returned a 404 last month, ordered by visits, with the page that matches each one best and the sites that send visitors there. After my yes, add a redirect for each line I tick and show next month whether those visits stopped.

[Build this in ChatGPT](https://hypamoon.com/connect?chat=chatgpt&via=connect-to-chatgpt~gitbook/dead-urls&say=a%20monthly%20list%20of%20old%20addresses%20on%20my%20GitBook%20site%20that%20end%20on%20a%20404%2C%20with%20the%20best%20matching%20page%2C%20and%20a%20redirect%20for%20each%20one%20I%20approve.) [Build this in Claude](https://hypamoon.com/connect?chat=claude&via=connect-to-claude~gitbook/dead-urls&say=a%20monthly%20list%20of%20old%20addresses%20on%20my%20GitBook%20site%20that%20end%20on%20a%20404%2C%20with%20the%20best%20matching%20page%2C%20and%20a%20redirect%20for%20each%20one%20I%20approve.)

Hypamoon not in your chat yet? The button adds it first, without an account, and then opens your chat with this sentence.

## How it goes today

1.  Run the curl and jq steps from the GitBook guide each month to list the 404 addresses.
2.  Look up the right GitBook page for each old address and type the redirect in Settings.
3.  Wait for a customer to send a link that no longer opens a GitBook page.

## How it can go

On the first of the month you get a list of addresses on your site that returned a 404 last month, ordered by visits, each with the page that matches best and the sites that link to it. After your yes, a redirect is added for each line you tick, and the next list shows whether the visits stopped.

## What you need

**What GitBook shares**\
GitBook has a guide for building a monthly report of addresses that returned a 404 from the analytics events, with the command line. Its own findings view with suggested redirects is in beta on the Ultimate site plan.

**Access**\
You paste your GitBook key in the portal, never in the chat.

**Your key**\
You create a personal access token in the Developer settings of your own GitBook account, read only for reports or read and write when something is written back. It can do what your account can do, and it stays yours until you delete it. Analytics come from published sites.

## More for teams on GitBook

-   [**If something goes wrong with our GitBook account, I want our docs stored somewhere of our own.**](https://hypamoon.com/connect-to/gitbook/markdown-backup)
-   [**Every quarter someone prints each GitBook section to PDF for our auditors, one by one.**](https://hypamoon.com/connect-to/gitbook/pdf-copies)
-   [**I want the docs numbers in my inbox on Monday so I can share them in the team meeting.**](https://hypamoon.com/connect-to/gitbook/weekly-analytics)
-   [**People search our docs, give up and open a ticket, and we only hear about it later.**](https://hypamoon.com/connect-to/gitbook/search-no-click)
-   [**Readers leave comments under our pages and nobody on the team reads them in time.**](https://hypamoon.com/connect-to/gitbook/page-feedback)
-   [**Change requests wait for a week because the reviewer missed the notification.**](https://hypamoon.com/connect-to/gitbook/review-queue)
-   [**Our support team reads the docs and has no idea which pages changed last week.**](https://hypamoon.com/connect-to/gitbook/weekly-changes)
-   [**Each release I copy the GitHub notes into GitBook and rewrite them so customers understand them.**](https://hypamoon.com/connect-to/gitbook/github-release-notes)
-   [**Our docs have hundreds of pages and nobody knows which ones are still correct.**](https://hypamoon.com/connect-to/gitbook/content-review)
-   [**A colleague left a question in a GitBook comment a month ago and it is still open.**](https://hypamoon.com/connect-to/gitbook/open-comments)
-   [**We pay for twenty GitBook seats and I think half of them have not logged in this year.**](https://hypamoon.com/connect-to/gitbook/inactive-users)
-   [**We want our Zendesk help center in GitBook without going through CSV files and a repository.**](https://hypamoon.com/connect-to/gitbook/zendesk-import)
-   [**Each Monday I open four GitBook screens to decide what the writers work on this week.**](https://hypamoon.com/connect-to/gitbook/docs-dashboard)
-   [**Everything for GitBook**](https://hypamoon.com/connect-to/gitbook)
