Everytime I go to a search engine like Bing or Google and click on the link to a website, it sends me to the wrong page. I don't have this problem with Internet Explorer, so what can I do as far as fixing the problem on Firefox?
Anytime I enter what I'm looking for in the search engine and click on a link, it goes through multiple web addresses until it takes me to an indirect page, and the first few webpages on the link that appear during the loading process are the same. I actually don't know what those websites are though.
Sounds like you have some search redirect Malware or a Rootkit.
Install, update, and run these programs in this order. They are listed in order of efficacy.
(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)
These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.
Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.
Malwarebytes' Anti-Malware - http://www.malwarebytes.org/mbam.php
SuperAntispyware - http://www.superantispyware.com/
AdAware - http://www.lavasoftusa.com/software/adaware/
Spybot Search & Destroy - http://www.safer-networking.org/en/index.html
Windows Defender: Home Page - http://www.microsoft.com/windows/prod.../default.mspx
Also, if you have a search engine re-direct problem, see this:
If these don't find it or can't clear it, post in one of these forums for Rootkit removal help: