Skip to content

Commit

Permalink
fix redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Jan 14, 2025
1 parent 6cd90d8 commit b352b5a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@ const config = {
[
"@docusaurus/plugin-client-redirects",
{
fromExtensions: ["html", "htm"], // /myPage.html -> /myPage
toExtensions: [], // No specific file extensions
redirects: [
// Redirect from old Lido page to the overview page
{
from: "/docs/user/staking/ethereum/lsd-pools/lido/",
to: "/docs/user/staking/ethereum/lsd-pools/lido/overview",
from: "/docs/user/staking/ethereum/lsd-pools/lido/",
},
],
createRedirects(existingPath) {
return undefined; // No additional redirects created
},
},
],
],
Expand Down

0 comments on commit b352b5a

Please sign in to comment.