{
    "componentChunkName": "component---src-templates-note-note-js",
    "path": "/notes/adding-redirects-to-old-links-shared",
    "result": {"data":{"mdx":{"body":"var _excluded = [\"components\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"When the name of the note or the location of the note(move from one folder to another) happens, we need to add redirects to make sure that the people don't get 404 error.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Whenever the file name or the location changes we need to add a trigger to add the entry in reidirects in our \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"/notes/gatsby\",\n    \"title\": \"gatsby\"\n  }, \"gatsby\"), \" \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"/notes/build\",\n    \"title\": \"build\"\n  }, \"build\"), \" flow.\")), mdx(\"h2\", null, \"temporary cleanup\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"checkout the 404s being served from Gogole console.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"checkout the source url whenever the \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://gokulnk.com/notes/404\"\n  }, \"https://gokulnk.com/notes/404\"), \" is rendered in gatsby website.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"add fall backs for these.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"add a link to search on our \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"/notes/404\",\n    \"title\": \"404\"\n  }, \"404\"), \" page\")));\n}\n;\nMDXContent.isMDXComponent = true;","inboundReferences":[{"id":"424f4e6b-5a21-54f9-a2a0-f5ee1df49a9e","slug":"404"}]}},"pageContext":{"slug":"adding-redirects-to-old-links-shared","node":{"childMdx":{"slug":"adding-redirects-to-old-links-shared"}}}},
    "staticQueryHashes": []}