One of our Wordpress sites suddenly super slow!?

Hi,

We've got several Wordpress sites on our Linux server. Everything went fine for months but now one of those sites has suddenly become ultra-slow. And it's not obvious why ... the others still work fine and even the admin part of that troubled site still works normally. Just when the site itself is accessed it becomes super slow ...

Any ideas? Any help is appreciated!

Thanks
XeronimoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DzynitCommented:
It would be more helpful if you provide the link to the site. Experts here could maybe help pinpoint where the problem is if they can view the site.

But in most cases when this happens, look at any widgets or codes on your site that pull from external sources: such as rss feeds, social icons, etc.
(I've noticed lately that sites with the facebook api's have been much slower loading - I would guess this is because facebook has become more and more popular and there are a lot more sites using the api's now than there were a few months ago.)
Of course the first step is always suggested to review the most recent added plugins first. But I'm making the assumption that you haven't added any lately or you'd have likely already checked that. If you've recently upgraded, a plugin could still be at fault though, so plugins should still be considered.
Another possibility is the hacky links that have occasionally been affecting some sites again. The easiest way to check quickly if your theme or site has been hacked is to view the souce code of your site while "NOT" logged in to the wp-admin. They tend to appear at the beginning or end of the source code and are a large list of hidden links. (You usually cannot see them if you're logged in.)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason C. LevineDon't talk to me.Commented:
Do all of the sites pull from the same database server?  FWIW: Dzynit's answer is most likely the solution but it never hurts to check the database and potentially optimize it.
0
XeronimoAuthor Commented:
Hi all,

Yes, they all pull the data from the same server (actually it's the server they're on!). The slow-loading site is http://www.science-club.lu (a normal loading one would be http://www.panda-club.lu)

I had disabled all the plugins, no change, still slow.
I've found some weird text though in the index.php file, as well as in some of the theme files. I had deleted them on Friday (with no real result though), today they were there again (only in the theme files though)!? I've deleted them again but the site is still slow ...

There are FB buttons on the Science Club one. They haven't posed a problem so far though?

Thanks again!
0
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

XeronimoAuthor Commented:
Update: I've also found a reference to 'WebShell' in one of the files!

http://www.htmlcenter.com/blog/webshell-hack-an-update/
0
XeronimoAuthor Commented:
Final update: yeah, so that one site had been hacked and malicious code had been injected into several PHP files (especially in the theme). I've removed all that code and now it works again. Also, I've disabled all the plugins that were not really needed.
0
XeronimoAuthor Commented:
The site had indeed been hacked.
0
Jason C. LevineDon't talk to me.Commented:
Weird text?  Uh oh.  You may have been hacked and that site is serving up who knows what now.   That could also account for the slowness.  

Scan the site with sucuri.net and see if you get any positives.

EDIT: It would help if I read all the comments :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.