How to Hardcode your Askimet API Key in WordPress

If you have used Askimet before then you know how it is, especially when you have Askimet and Jetpack set-up in WordPress, or worse you are using Askimet with a WordPress Multisite / Mulitnetwork Set-up. Well this tutorial serves to help you save precious time so you can get more work done and make more money.

Here’s how you do it:

Open up your wp-config.php file. Find the line that says “That’s all stop editing! Happy Blogging.” Add the constant below, before that line and replace ‘your-key’ with your WordPress.com API Key.

/** Define WordPress.com API Key **/

Save and Re-upload, and that’s it.

If you are using a WordPress Multisite the plugin must be network activated for this to work.

Reference: WPMUDEV

About these ads