WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. johnstonphilip
    Member
    Posted 3 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.

    http://grab.by/5IcF

    Is there a way to activate this TRULY site wide?

  2. Anna
    Member
    Posted 3 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
    Member
    Posted 3 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. johnstonphilip
    Member
    Posted 3 years ago #

    Awesome - thanks Joseph

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

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

    define('WPCOM_API_KEY','your-key');

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

  6. Joseph Scott
    Member
    Posted 3 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');
    else
        $wpcom_api_key = '';
  7. tdjcbe
    Member
    Posted 3 years ago #

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

    http://akismet.com/commercial/

    Discussed here as well:

    http://mu.wordpress.org/forums/topic/16257

  8. Anna
    Member
    Posted 3 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