multisite use (10 posts)

  1. Roy
    Posted 5 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?


  2. Joseph Scott
    Plugin Contributor

    Posted 5 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
    Posted 5 years ago #

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

  4. Ryan Hellyer
    Posted 5 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
    Posted 5 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.


  6. callmehippy
    Posted 5 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 */

  7. Ovidiu
    Posted 5 years ago #

    thx. worked flawless.

  8. Katinka Hesselink
    Posted 5 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
    Posted 5 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
    Posted 4 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

  • Akismet
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic