• Resolved Manuel Fritsch

    (@let-me-see)


    Hi,
    when trying to access the page on which to insert the API key, I get the following error message:

    Du bist leider nicht berechtigt, auf diese Seite zuzugreifen.

    (No rights to access this page.)

    What can I do? I have a MS setup with Akismet activated on network level.
    Best
    Manuel

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Christopher Finke

    (@cfinke)

    When network-activating Akismet on a multisite install, there’s no config page in the network admin. Individual sites can access their own config pages to set their keys.

    If you want to set a network-wide API key, then you will need to define the constant WPCOM_API_KEY in wp-config.php.

    As I write this out, I realize that this isn’t the most user-friendly experience, but this is the way it works right now.

    Thread Starter Manuel Fritsch

    (@let-me-see)

    Would this have to be done as explained here? At which point in wp-config do I have to add it? And can I take the key for the domain, so it will be used for all subdomains?

    Yeah, I often wondered why MS is treated so negligent. After all, everyone is well advised to use it, since one can have a test site and a live site, side by side, on one single installation.

    Plugin Author Christopher Finke

    (@cfinke)

    Add a line anywhere in wp-config.php like this:

    
    define( 'WPCOM_API_KEY', 'abcdef123456' );
    

    where [abcdef123456] is your API key. This will set the key for all sites in your MS install and prevent users on individual sites from adding a different key.

    Thread Starter Manuel Fritsch

    (@let-me-see)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot access Akismet Settings Page (MS setup)’ is closed to new replies.