Did you add the code for the redirect just before the doctype tag.
for the error message:
go to Window -> Work Space layout -> Reset '<your layout name>'
and Delete the Dreamweaver Cache file from the users configuration folder:
I dont think restarting the website would be needed, but you may want to try recreating the search page.