Skip to content

Commit 91993a9

Browse files
authored
Merge pull request #307 from wpengine/chore-update-redirects
Chore: Added redirects for 404s
2 parents 8533cc0 + 3b1763d commit 91993a9

File tree

1 file changed

+115
-0
lines changed

1 file changed

+115
-0
lines changed

redirects-old-site.mjs

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,121 @@ const redirectsOldSite = [
522522
destination: "/showcase/",
523523
permanent: true,
524524
},
525+
{
526+
source: "/docs/how-to/react-components-to-blocks",
527+
destination: "/docs/how-to/rendering-blocks",
528+
permanent: true,
529+
},
530+
{
531+
source: "/docs/gqty-intro",
532+
destination: "/docs",
533+
permanent: true,
534+
},
535+
{
536+
source: "/wp-blocks",
537+
destination: "/docs/how-to/rendering-blocks",
538+
permanent: true,
539+
},
540+
{
541+
source: "/docs/tutorial/querying-data",
542+
destination: "/docs/how-to/query-data-in-the-browser",
543+
permanent: true,
544+
},
545+
{
546+
source: "/tutorial/CoreParagraph",
547+
destination: "/docs/how-to/rendering-blocks",
548+
permanent: true,
549+
},
550+
{
551+
source: "/guide/possibleTypes.json",
552+
destination: "/docs",
553+
permanent: true,
554+
},
555+
{
556+
source: "/docs/tutorial/setup-faustjs",
557+
destination: "/docs/tutorial/learn-faust",
558+
permanent: true,
559+
},
560+
{
561+
source: "/WordPressBlocksViewer",
562+
destination: "/docs/reference/wordpress-blocks-viewer",
563+
permanent: true,
564+
},
565+
{
566+
source: "/docs/changelog/next",
567+
destination: "/docs",
568+
permanent: true,
569+
},
570+
{
571+
source: "/docs/privacy-policy",
572+
destination: "/privacy-policy",
573+
permanent: true,
574+
},
575+
{
576+
source: "/docs/changelog/faustwp",
577+
destination: "/docs",
578+
permanent: true,
579+
},
580+
{
581+
source: "/blog/atom.xml",
582+
destination: "/api/feeds/feed.atom",
583+
permanent: true,
584+
},
585+
{
586+
source: "/docs/next/reference/hooks/usePost",
587+
destination: "/docs/reference",
588+
permanent: true,
589+
},
590+
{
591+
source: "/headless-wordpress",
592+
destination: "/",
593+
permanent: true,
594+
},
595+
{
596+
source: "/reference/single",
597+
destination: "/docs/reference",
598+
permanent: true,
599+
},
600+
{
601+
source: "/docs/next/guides/custom-post-types",
602+
destination: "/docs/how-to/setup-cpt-in-faustjs",
603+
permanent: true,
604+
},
605+
{
606+
source: "/docs/next/reference/getClient",
607+
destination: "/docs/reference",
608+
permanent: true,
609+
},
610+
{
611+
source: "/docs/next/reference/hooks/usePreviewNode",
612+
destination: "/docs/reference",
613+
permanent: true,
614+
},
615+
{
616+
source: "/docs/next/guides/sitemaps",
617+
destination: "/docs/how-to/sitemaps",
618+
permanent: true,
619+
},
620+
{
621+
source: "/docs/changelog/faustwp-cli",
622+
destination: "/docs",
623+
permanent: true,
624+
},
625+
{
626+
source: "/guide/wp-templates",
627+
destination: "/docs/tutorial/learn-faust/#template-hierarchy",
628+
permanent: true,
629+
},
630+
{
631+
source: "/docs/tutorial/first-react-component",
632+
destination: "/docs/how-to/rendering-blocks",
633+
permanent: true,
634+
},
635+
{
636+
source: "/docs/tutorial/dev-env-setup",
637+
destination: "/docs/tutorial/learn-faust",
638+
permanent: true,
639+
},
525640
];
526641

527642
export default redirectsOldSite;

0 commit comments

Comments
 (0)