Fix redirect interface
Merge pull request #36 from WPAFC/feature-redirects

Implement new interface, fixes #35.