Fixing the filename for redirects.