Issue 3657: fixing bug in redirects controller

Issue 3657: fixing bug in redirects controller, where www was added to all urls

Be careful when using gsub!

https://code.google.com/p/otwarchive/issues/detail?id=3657