Forums

Akismet for MultiSite (3 posts)

  1. JmSevoro
    Member
    Posted 1 year ago #

    Hello, I just started my blognetwork with wordpress and is wondering how I can autoactivate akismet for everybody that creates a new blog on the network without they having to get a key themself and activate it?

  2. Aircut
    Member
    Posted 1 year ago #

    assuming you have purchased the appropriate API

    open askimet.php

    find the line

    $wpcom_api_key = '';

    enter your API to look like

    if ( defined('WPCOM_API_KEY') )
    	$wpcom_api_key = constant('WPCOM_API_KEY');
    else
    	$wpcom_api_key = 'ENTER YOUR API NUMBER HERE';
    y
  3. Joseph Scott
    Member
    Posted 1 year ago #

    You should set the definition of WPCOM_API_KEY in wp-config.php, not in akismet.php. That way the setting will be preserved even after you update the Akismet plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.