Go to tools,
then add ons,
Look for Yahoo toolbar and click options
on the left you will see some boxes with checkmarks
look for the ‘enable 404 assist’ If that box os checked, uncheck it.
I was having the same problem and this fixed it for me. I may have rebooted afterwards. But I stopped getting the redirect after I did this.
Kind of like my advice. Eliminate all ad ons including extra tool bars.
don’t have Yahoo toolbar. Won’t ever load it.