Skip to content

Instantly share code, notes, and snippets.

@ysc3839
Created November 3, 2022 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ysc3839/fa5cc30c46757f066522dfa3b7058d76 to your computer and use it in GitHub Desktop.
Save ysc3839/fa5cc30c46757f066522dfa3b7058d76 to your computer and use it in GitHub Desktop.
{
"request": [
{
"enable": true,
"name": "Domain redirect",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "https?://blogs\\.msdn\\.microsoft\\.com/oldnewthing/",
"exclude": "",
"group": "The Old New Thing",
"isFunction": false,
"action": "redirect",
"to": "https://devblogs.microsoft.com/oldnewthing/"
},
{
"enable": true,
"name": "Date redirect",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?://blogs\\.msdn\\.com/(b/)?oldnewthing/archive/(\\d+)/(\\d+)/(\\d+)/.*",
"exclude": "",
"group": "The Old New Thing",
"isFunction": false,
"action": "redirect",
"to": "https://devblogs.microsoft.com/oldnewthing/$2$3$4-00/"
},
{
"enable": true,
"name": "Date redirect 2",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?://devblogs\\.microsoft\\.com/oldnewthing/archive/(\\d+)/(\\d+)/(\\d+)/.*",
"exclude": "",
"group": "The Old New Thing",
"isFunction": false,
"action": "redirect",
"to": "https://devblogs.microsoft.com/oldnewthing/$1$2$3-00/"
}
],
"sendHeader": [],
"receiveHeader": [],
"receiveBody": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment