Tech Community Article List Users Guide - nonkit/ArticleList GitHub Wiki

Convert-BlogUrl.ps1

Usage: P> Convert-BlogUrl old.html new.html

Convert-BlogUrl converts blog urls from old one to new one. OldNew.csv is used to convert them.

Known Issues

  1. Be careful that OldNew.csv contains old url such as "https://blogs.msdn.microsoft.com/smallbasic/yyyy/mm/dd/*/". But some html has older address such as "http://blogs.msdn.com/b/archive/smallbasic/yyyy/mm/dd/*.aspx". Before running this script, convert these prefixes and extensions in old.html.
  2. But changed title or date from OldNew.csv will remain in new.html. These url should be changed manually.