Found The Culprit!

After re-enabling my site, I immediately saw our site getting hammered and our CPU usage spike up. A quick look at our access logs revealed that 90% of the load is being generated by XBMC clients. All their queries appear to be search related, so for the time being, I’ve disabled the internal WordPress search engine and switched to using our Google custom search engine.

Can someone who works on the HD-Trailers.net plug-in for XBMC or if you know someone who does, please get in touch with us? Our email can be found on our contact page.

I’ve gone ahead and reverted all the things I disabled.

I also found out the Lightword Theme doesn’t actually have a 404 page, and it was returning a 200 even when no page was found. Apparently all you have to do is create a 404.php in the theme folder and WordPress would use that. So I quickly whipped one out using their single.php as a template:

<?php header("HTTP/1.0 404 Not Found"); ?>
<?php get_header(); ?>
<div id="content-body">
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>

<h2><?php _e('Not Found','lightword'); ?></h2>
<p><?php _e("Sorry, but you are looking for something that isn't here.","lightword"); ?></p>

</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.