Search code examples
securitywordpress.htaccesshttp-redirect

Security issue with wordpress website - htaccess


Now I didn't do the website design but a couple of months ago I ported an existing website over to wordpress for a client of mine.

I got a call from a client today regarding their website, and some sort of a security problem.

The websites homepage loads up fine, but if you try to navigate to any other page it brings you to - http://secure.wheelerairservice.com/main.php.

The nav appears to still be linking to the appropriate page (when you rollover contact us, the link displays in the status bar as /contact-us) but it redirects to the above url.

Just wondering if anyone knows what the problem is, and who or what might have done this and how.

Any suggestions on how I could fix this?

thanks!

Ok I've looking into the problem some more and found that the .htaccess file had been replaced somehow. I'm just wondering how someone might have done this? via ftp access, wordpess admin account or some hole in wordpress, any thoughts?


Solution

  • Change your passwords. See Hardening WordPress and FAQ: My site was hacked « WordPress Codex and How to completely clean your hacked wordpress installation