Skip to content

Conversation

@tomodachi94
Copy link

@tomodachi94 tomodachi94 commented Nov 15, 2025

This URL used to work but doesn't anymore, so redirect it so people who are using it are redirected somewhere useful.

Closes #119

@tomodachi94 tomodachi94 force-pushed the introduction-redirect branch from d3fda17 to 1a80287 Compare November 15, 2025 22:38
@tomodachi94
Copy link
Author

Reformatted astro.config.mjs, Biome should be fine with it now.

@katrinafyi
Copy link
Contributor

It's a good idea.

The URLs under /usage have also been moved to /guides, and there are a few usages of those which are now broken. But maybe that can be another PR.

@tomodachi94
Copy link
Author

I haven't tested this, but this should probably work?

{
  "/usage/[...slug]": "/guides/[...slug]"
}

@katrinafyi
Copy link
Contributor

katrinafyi commented Nov 16, 2025

I made a list of the old and new URLs and there's a few more changes too. Some pages have been merged with others and some have disappeared. It looks like the old /introduction content is now at https://lychee.cli.rs/guides/getting-started/#usage, so maybe that could be a redirect instead of going to the front page.

Here is the table

Details
Old New
old: "/introduction"
old: "/installation"
old: "/github-action"
old: "/docker"
old: "/library"
old: "/comparison"

old: "/usage/cli"
old: "/usage/config"
old: "/usage/output"

old: "/recipes/anchors"
old: "/recipes/caching"
old: "/recipes/excluding-links"
old: "/recipes/excluding-paths"
old: "/recipes/migration",
old: "/recipes/base-url",
old: "/recipes/root-dir",
old: "/recipes/pretty-urls",
old: "/recipes/wikilinks"

old: "/github_action_recipes/check-repository",
old: "/github_action_recipes/pull-requests",
old: "/github_action_recipes/archived-links",
old: "/github_action_recipes/reuse-issue",
old: "/github_action_recipes/add-pr-comment",
old: "/github_action_recipes/caching",

old: "/troubleshooting/rate-limits"
old: "/troubleshooting/custom-headers",
old: "/troubleshooting/mail"
old: "/troubleshooting/network-errors",
old: "/troubleshooting/open-files",
old: "/troubleshooting/redirects",
old: "/troubleshooting/status-codes",

old: "/how-it-works",
old: "/contributing",
old: "/sponsors",
old: "/credits",
old: "/community",
old: "/users",
old: "/history",
"/overview",
"guides/getting-started",
"guides/library",
"guides/config",
"guides/cli",
"guides/output",
"guides/preprocessing",

"recipes/anchors",
"recipes/caching",
"recipes/excluding-links",
"recipes/excluding-paths",
"recipes/migration",
"recipes/base-url",
"recipes/root-dir",
"recipes/pretty-urls",
"recipes/wikilinks",

"github_action_recipes/check-repository",
"github_action_recipes/pull-requests",
"github_action_recipes/archived-links",
"github_action_recipes/add-pr-comment",
"github_action_recipes/caching",

"troubleshooting/rate-limits",
"troubleshooting/custom-headers",
"troubleshooting/mail",
"troubleshooting/network-errors",
"troubleshooting/open-files",
"troubleshooting/redirects",
"troubleshooting/status-codes",

"internals/how-it-works",
"internals/contributing",
"internals/sponsors",
"internals/credits",
"internals/users",

This commit is before the moving of URLs https://github.com/lycheeverse/lycheeverse.github.io/blob/3f2f8b981e5c0da569941bf270a39e706623073d/astro.config.mjs

@thomas-zahner
Copy link
Member

Thanks for the PR, that also resolves #119.
Yes redirecting to /guides/getting-started/#usage would be better in my opinion.

@katrinafyi
Copy link
Contributor

Though, /introduction was probably more often used as a landing page for lychee. In that case, maybe going to https://lychee.cli.rs/overview/ would match the purpose, even if not the content. The getting started page is just a click away at the bottom of the page.

I don't mind either way though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken link on NLnet

3 participants