@@ -25,6 +25,77 @@ const nextConfig = {
2525 } ,
2626 redirects ( ) {
2727 return [
28+ {
29+ source : "/guide/how-to-use-sitemaps" ,
30+ destination : "/docs/how-to/sitemaps/" ,
31+ permanent : true ,
32+ } ,
33+ {
34+ source : "/guide/how-to-create-a-plugin" ,
35+ destination : "/docs/how-to/create-a-plugin/" ,
36+ permanent : true ,
37+ } ,
38+ {
39+ source : "/guide/how-to-use-apollo-in-faust" ,
40+ destination : "/docs/how-to/use-wpgraphql-smart-cache/" ,
41+ permanent : true ,
42+ } ,
43+ {
44+ source : "/guide/how-to-setup-post-and-page-previews" ,
45+ destination : "/docs/how-to/post-previews/" ,
46+ permanent : true ,
47+ } ,
48+ {
49+ source : "/guide/how-to-handle-authentication" ,
50+ destination : "/docs/how-to/authentication/" ,
51+ permanent : true ,
52+ } ,
53+ {
54+ source : "/guide/how-to-implement-typescript" ,
55+ destination : "/docs/how-to/generate-types-with-graphql-codegen/" ,
56+ permanent : true ,
57+ } ,
58+ {
59+ source : "/tutorial/get-started-with-wp-graphql-content-blocks" ,
60+ destination : "/docs/how-to/rendering-blocks/" ,
61+ permanent : true ,
62+ } ,
63+ {
64+ source : "/tutorial/getting-started-with-the-experimental-app-router" ,
65+ destination :
66+ "https://github.com/wpengine/faustjs/blob/archive-experimental-app-router/packages/experimental-app-router/docs/getting-started.md" ,
67+ permanent : true ,
68+ } ,
69+ {
70+ source : "/reference/faustroutehandler" ,
71+ destination :
72+ "https://github.com/wpengine/faustjs/blob/archive-experimental-app-router/packages/experimental-app-router/docs/faustroutehandler.md" ,
73+ permanent : true ,
74+ } ,
75+ {
76+ source : "/reference/getauthclient" ,
77+ destination :
78+ "https://github.com/wpengine/faustjs/blob/archive-experimental-app-router/packages/experimental-app-router/docs/getauthclient.md" ,
79+ permanent : true ,
80+ } ,
81+ {
82+ source : "/reference/getclient" ,
83+ destination :
84+ "https://github.com/wpengine/faustjs/blob/archive-experimental-app-router/packages/experimental-app-router/docs/getclient.md" ,
85+ permanent : true ,
86+ } ,
87+ {
88+ source : "/reference/onlogin-server-action" ,
89+ destination :
90+ "https://github.com/wpengine/faustjs/blob/archive-experimental-app-router/packages/experimental-app-router/docs/onlogin-server-action.md" ,
91+ permanent : true ,
92+ } ,
93+ {
94+ source : "/reference/onlogout-server-action" ,
95+ destination :
96+ "https://github.com/wpengine/faustjs/blob/archive-experimental-app-router/packages/experimental-app-router/docs/onlogout-server-action.md" ,
97+ permanent : true ,
98+ } ,
2899 {
29100 source : "/discord" ,
30101 destination : "https://discord.gg/headless-wordpress-836253505944813629" ,
0 commit comments