WordPress.org

Ready to get started?Download WordPress

Forums

Akismet
multisite use (10 posts)

  1. Roy
    Member
    Posted 3 years ago #

    Now with the network option and since Akismet is created by the WP devs, wouldn't it be great to have a network version of Akismet? One where I can see all the spam of all subsites, trash them all at once, one set of stats, one API-key instead of several, that sort of stuff?

    http://wordpress.org/extend/plugins/akismet/

  2. Joseph Scott
    Member
    Plugin Author

    Posted 3 years ago #

    You can already run a multisite install with a single Aksimet key, by defining the constant WPCOM_API_KEY (as mentioned near the top of the akismet.php file).

    I'm not aware of any plans to create a single unified comment management UI in WordPress multisite.

  3. Roy
    Member
    Posted 3 years ago #

    Never noticed that. That's one thing. Sitewide spam would be even nicer!

  4. Ryan Hellyer
    Member
    Posted 3 years ago #

    Just a quick note on this:

    You should define the WPCOM_API_KEY in your wp-config.php file, not in the akismet.php file. Otherwise, the key will presumably be overwritten during Akismet plugin updates.

  5. Kiko Doran
    Member
    Posted 3 years ago #

    Can someone post an example of how you would do this in your wp-config.php? I'm not really sure how I would go about adding the key in there.

    Thanks!

  6. callmehippy
    Member
    Posted 3 years ago #

    you probably already figured out a way to do this, but here's the code you have to enter in your wp-config.php file (the comment is not mandatory, of course) :

    /** Define WordPress.com API Key */
    define('WPCOM_API_KEY','your_api_key');

  7. Ovidiu
    Member
    Posted 3 years ago #

    thx. worked flawless.

  8. katinkaspirituality
    Member
    Posted 3 years ago #

    This is great. Don't forget to 'network activate', so it really is applied to all the blogs/sites in the network.

  9. Baldtel
    Member
    Posted 2 years ago #

    Hi Guys.

    I followed the procedure mentioned by 'callmehippy', and stuck the code in my config file of my network installation.

    When I go to the network admin page and try to go to teh Akismet configuration page, I get the following message.

    "You do not have sufficient permissions to access this page."

    If I go to the Akismet stats tab on any of the created sites on the net work, it just comes up with some text that says invalid.

    Can anyone enlighten me as to what I am doing wrong?

    Thank you

  10. Andy Smith
    Member
    Posted 2 years ago #

    Just to say this works perfectly!! Thanks for the tip

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic