Fixes #127, work with 301 redirects on add