[resolved] Enter Akismet key for each site? Really? (8 posts)

  1. Phil Johnston
    Posted 5 years ago #

    I am setting up WordPress Multisite on Version 3.0.1

    Every time a new person signs up it requires that they enter an Akismet Key to activate it. I have already put in my akismet key for the Super Admin and activated the plugin "network wide"

    But when I go to that sub-site's backend it tells me I need to activate Akismet again. My users won't know what akismet is - let alone how to put in the key.


    Is there a way to activate this TRULY site wide?

  2. Anna
    Posted 5 years ago #

    +1 to this.

    I would love for someone to post a solution or perhaps have this included as a(n optional) feature for a future WP update.

  3. Joseph Scott
    Posted 5 years ago #

    Look at the top of the source code for akismet.php in the plugin, it mentions how to hard code a key for the entire site.

  4. Phil Johnston
    Posted 5 years ago #

    Awesome - thanks Joseph

  5. Add a line like this to your wp-config.php file:


    This will work with Akismet, the Stats plugin, etc.

  6. Joseph Scott
    Posted 5 years ago #

    Correct, which is what the akismet.php code mentions:

    /** If you hardcode a WP.com API key here, all key config screens will be hidden
    if ( defined('WPCOM_API_KEY') )
        $wpcom_api_key = constant('WPCOM_API_KEY');
        $wpcom_api_key = '';
  7. tdjcbe
    Posted 5 years ago #

    Do realize that if you use the Akismet plugin sitewide, you may come under their Commerical Usage clause:


    Discussed here as well:


  8. Anna
    Posted 5 years ago #

    @tdjcbe: Thanks for the warning. Luckily, none of my sites fall under the statement below (found at the personal page of Akismet).

    If you are a commercial entity or if you are making more than $500 from your personal blog, please get a commercial key instead.

Topic Closed

This topic has been closed to new replies.

About this Topic