Posts Tagged ‘wordpress’

How To Detect WordPress Redirection Hacks On Your Blog

Friday, June 6th, 2008

There’s widespread hacking of WordPress blogs happening where the hacker inserts code into either the .htaccess file, some WordPress core files, or plugin files.

When someone visits your site from Google (and some report Yahoo! as well), the visitor is automatically redirected to the hacker’s website of choice.

Some people are reporting that they’ve lost Google SERPs after being hacked in this manner.

Even though Affiliate Link Checker cannot prevent the hack, it can alert you if your blog has been infected by this hack.

Here’s how you can be alerted:

  1. Do a search on Google for your blog and locate your entry in the SERPs.
  2. Right-click on the entry and copy the URL — It will be a Google URL that redirects to your blog.
  3. Paste that link into Affiliate Link Checker in the “Affiliate URL” text box when you create a new link to monitor.
  4. Enter your blog’s normal URL in the “Landing Page URL” text box.
  5. Save the link in Affiliate Link Checker.
  6. Repeat steps 1-5 with your blog entry in Yahoo! (and any other search engine).
  7. Also create a link entry with your native blog URL in both the “Affiliate URL” and “Landing Page URL” text boxes — This will catch any redirect hacks that don’t filter on referrer.

Affiliate Link Checker will check those links every day.

If any of them don’t end up displaying your blog to the visitor (i.e., your blog has been hacked and is illegally being redirected somewhere else), you will get an email alert right away.


Disable Auto Insertion of WordPress Version in HTML

Thursday, May 22nd, 2008

WordPress 2.5 and later automatically inserts the META tag <meta name=”generator” content=”WordPress 2.5.1″ /> into the <head> section of the HTML output.

Not everyone likes advertising which WordPress version they’re using because it makes it easier for hackers to target vulnerabilities in a specific WordPress version.

Download, install and activate the plugin below. It will disable the auto insertion of the WordPress version.

Note: It will not disable the “generator” META tag if the tag is included in your WordPress theme’s header.php file. This plugin only disables the auto insertion done by the WordPress core, which was introduced in WordPress 2.5.

Download Disable Generator Tag WordPress Plugin