We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b42dcfb commit a8470e9Copy full SHA for a8470e9
1 file changed
lib/redirects/permalinks.js
@@ -41,7 +41,6 @@ module.exports = function generateRedirectsForPermalinks (permalinks, redirectFr
41
42
// add it to the redirects object
43
redirects[versionedFrontmatterOldPath] = permalink.href
44
- redirects[`/en${versionedFrontmatterOldPath}`] = permalink.href
45
46
// then get an array of possible alternative old paths from the current versioned old path
47
const possibleOldPathsForVersionedOldPaths = getOldPathsFromPermalink(versionedFrontmatterOldPath, permalink.languageCode, permalink.pageVersion)
0 commit comments