Skip to content

About

Diff old vs new sitemap before a migration: every old path that will 404 without a redirect. stdlib Python.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

redirect-diff

Before a site migration: python3 redirect_diff.py old-sitemap.xml https://new-site.com/sitemap.xml [--fail] lists every old path that has no match on the new site, i.e. every URL that will 404 unless you add a redirect. Accepts sitemap XML or a plain list of URLs. stdlib only; use --fail in CI.

Not SEO insurance: redirects keep links working; rankings depend on much more.

Disclosure: I build RoutePatch ($49), which turns the gap into a host-ready redirect map. This script is free (MIT).

About

Diff old vs new sitemap before a migration: every old path that will 404 without a redirect. stdlib Python.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages