Skip to content

Commit b352b5a

Browse files
fix redirect
1 parent 6cd90d8 commit b352b5a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docusaurus.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ const config = {
3737
[
3838
"@docusaurus/plugin-client-redirects",
3939
{
40+
fromExtensions: ["html", "htm"], // /myPage.html -> /myPage
41+
toExtensions: [], // No specific file extensions
4042
redirects: [
43+
// Redirect from old Lido page to the overview page
4144
{
42-
from: "/docs/user/staking/ethereum/lsd-pools/lido/",
4345
to: "/docs/user/staking/ethereum/lsd-pools/lido/overview",
46+
from: "/docs/user/staking/ethereum/lsd-pools/lido/",
4447
},
4548
],
49+
createRedirects(existingPath) {
50+
return undefined; // No additional redirects created
51+
},
4652
},
4753
],
4854
],

0 commit comments

Comments
 (0)