Skip to content

Commit 7b79930

Browse files
authored
fix: links 404 (#2689)
1 parent c8f1675 commit 7b79930

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docusaurus.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ const config: Config = {
206206
if (existingPath?.includes('/developer/community/rfcs/')) {
207207
return existingPath.replace('/developer/community/rfcs/', '/guides/community/rfcs/');
208208
}
209+
if (existingPath?.includes('/sql/')) {
210+
return existingPath.replace('/sql/', '/en/sql/');
211+
}
209212
return undefined;
210213
}
211214
}

site-redirects.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,11 @@ const siteRedirects = [
382382
{
383383
from: '/tutorials/load/automating_json_log_loading_with_vector/',
384384
to: '/tutorials/load/automating-json-log-loading-with-vector/'
385+
},
386+
// loading data
387+
{
388+
from: '/guides/load-data/transform/querying-metadata',
389+
to: '/tutorials/load/query-metadata'
385390
}
386391
];
387392
export default siteRedirects;

0 commit comments

Comments
 (0)