Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const nextConfig: NextConfig = {
{
source: "/lpt",
destination: "/token",
permanent: false,
permanent: true,
},
{
source: "/learn",
Expand Down Expand Up @@ -65,7 +65,7 @@ const nextConfig: NextConfig = {
{
source: "/media-kit",
destination: "/brand",
permanent: false,
permanent: true,
},
{
source: "/primer-new-design",
Expand Down Expand Up @@ -93,6 +93,32 @@ const nextConfig: NextConfig = {
destination: "/",
permanent: false,
},
// Old blog.livepeer.org post slugs → new /blog/* paths
// (blog.livepeer.org redirects to livepeer.org via Vercel domain config,
// these catch the old slugs that land on the apex domain)
...[
"/a-real-time-update-to-the-livepeer-network-vision",
"/livepeer-incorporated-and-realtime-ai",
"/why-delegation-still-matters-in-a-low-inflation-environment",
"/introducing-the-livepeer-foundation",
"/introducing-livepeer-cascade-a-vision-for-livepeers-future-in-the-age-of-real-time-ai-video",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"/introducing-livepeer-cascade-a-vision-for-livepeers-future-in-the-age-of-real-time-ai-video",

Permanent redirect (308) to a non-existent blog post results in redirect-to-404, which is worse for SEO than a direct 404.

Fix on Vercel

].map((slug) => ({
source: slug,
destination: `/blog${slug}`,
permanent: true,
})),
// Old blog slugs that changed on the new site
{
source: "/ai-x-open-media-forum-building-new-wave-creativity",
destination: "/blog/ai-x-open-media-forum",
permanent: true,
},
{
source:
"/livepeer-onchain-builders-streamplace-building-the-video-backbone-of-decentralized-social",
destination: "/blog/onchain-builders-streamplace",
permanent: true,
},
// Deprecated pages — old marketing/campaign routes, redirect to home
// to avoid 404s from existing links and search engine indexes
...[
Expand Down