Fixes broken redirects.