Knowledge Base/Wordpress Cloaker

How to Remove User Agents in WordPress Cloaker

Gerry
posted this on May 10, 2011 10:55

Q:  I've been playing around with Wordpress Claoker, and mistakenly entered Firefox as a user agent. There doesn't seen to be an option to remove a user agent once added. How do I do this?

A:  Unless you're familiar working with MySQL databases, removing an unwanted user agent from your database might be slightly advanced.

But, hopefully, with these instructions, we'll make it seem easy.

Try this. If you run into troubles, let me know and send me your domain control panel login details and I'll see if I can help.

  1.  Go to your cpanel 
  2.  Go to your PHPmyAdmin panel 
  3.  Click the name of your database on left top column (sometimes something like _wrdp1 but can be whatever you named it) 
  4.  Now, in the right panel, you should see list of tables. Look for the row that closest resembles 'wp_cloaker_agents' 
  5.  Click the 'browse' icon just to the right of the 'table' column 
  6.  Once inside, you should see 5 columns (id, a_ID, a_string, a_description, a_type). Your custom user agent will be in the 'a_string' column but there are too many there to just browse to it. It will be easier to search for it. so, 
  7.  Click the 'Search' tab, up above 
  8.  Now, look at the form field in the 'a_string' row under the 'Value' column. type in the exact or partial string from your custom user agent. 
  9.  Now, set the 'Operator' to 'LIKE %...%' 
  10.  Hit 'Go' button. 
  11.  You should now see the unwanted user agent on the resulting page. Make sure it's the right one. If there are multiple listed here, you may want to clicke the 'Edit' (pen) icon to have a closer look before deleting it for good. 
  12.  Once you're comfortable that you have the right one, hit the 'Delete' icon.

Say bye-bye to unwanted User Agent.

Now, aren't you glad we make software that does 99% of the complicated stuff FOR us!? :)

Good luck!

Can't figure it out on your own? Submit a Support ticket explaining your situation along with your Cpanel or phpMYadmin login details.