diff --git a/themes/gatsby-theme-deriv/gatsby-node.js b/themes/gatsby-theme-deriv/gatsby-node.js index 4c563623f05..1d3f74a999a 100644 --- a/themes/gatsby-theme-deriv/gatsby-node.js +++ b/themes/gatsby-theme-deriv/gatsby-node.js @@ -250,6 +250,19 @@ const BuildPage = (page, actions, region) => { redirectInBrowser: true, isPermanent: true, }) + const mn_path = `/mn${localized_path.slice(0, -1)}` + createRedirect({ + fromPath: mn_path, + toPath: localized_path, + redirectInBrowser: true, + isPermanent: true, + }) + createRedirect({ + fromPath: `${mn_path}/`, + toPath: localized_path, + redirectInBrowser: true, + isPermanent: true, + }) } if (is_responsible_trading) {