• Resolved Bob31

    (@bob31)


    I have established a new account with WordPress.com for the username of my current WP blog that is installed and managed from another host. I did this to get an API key for use with my username for this established blog. The Profile for my Global Dashboard doesn’t show any blog associated with this account. I don’t want to manage my blog from WordPress.com. I only want to use the new API key for the stats and other necessary functions for which it may be required with my blog.

    I have these questions regarding this matter: Should I have make the necessary settings to implement this change? If so, how can I do this without hampering the operation of my blog? Please give me some clear step-by-steps regarding this matter. Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Micah Cooksey

    (@micahcooksey)

    Not quite understanding you. I have a WP.com account that I only use for the API key. Except for being registered in my name, it is in no way associated with my other sites. Can’t you just use the key and keep your settings as they already are?

    Thread Starter Bob31

    (@bob31)

    Micah,
    I’m not sure that I can do that. I can’t use the key with my current blog, because it is not hosted by WordPress.com. I have a version of the Askimet software that is working with this blog, but I don’t believe that I can install any updates to this program without having the API key active with this blog. That is my dilemma. I only want one blog that I manage from the database of my website. I don’t want another blog that is operated from WordPress.com. How can I get this API key that is assigned for use by me, the user of this new account, to be used with my current blog? That is what I want to do. Any help with this will be appreciated. Thanks.

    Samuel B

    (@samboll)

    I’m not sure that I can do that. I can’t use the key with my current blog, because it is not hosted by WordPress.com

    that is exactly what you CAN do
    use the key from the wordpress.com on your self-hosted blog – nothing will interfere with the running of your self-hosted blog.

    if you just have to have another one, you can get it here with a different email address than you used to register at wordpress.com
    https://akismet.com/personal/

    simsong

    (@simsong)

    I am having a similar but slightly different problem.

    I have a wordpress.com account, a www.ads-software.com account, an API key, and multiple blogs.

    One of my blogs is https://digitalcorpora.org/. I am trying to get the API key to work with the blog, but I get this error when I try:

    WordPress.com Stats needs attention: please enter an API key or
    disable the plugin.

    The API key “**********” belongs to the WordPress.com account of
    “simsong”. If this is not your account, please re-enter your API key.

    Add new blog to my account

    Do this if this blog is new or has never been associated with your API
    key. This blog will be added to your WordPress.com account.

    The problem is, when I click “Add new blog to my account,” I get this error:

    The owner of that API Key (digitalcorpora) is not on the access list
    for this blog (8011489). To be added to the access list, you must
    contact support

    What should I do?

    Samuel B

    (@samboll)

    simsong
    I guess contact support
    https://en.support.wordpress.com/contact/

    Thread Starter Bob31

    (@bob31)

    Samboll,
    I don’t know how to use this API key with my self-hosted blog. It isn’t directly connected to that blog, and I don’t want to create a new blog with that account. That seems to be the only option that is provided for connecting a blog to that account and its API key. And the support department at WordPress.com won’t help me with this problem, because my blog isn’t hosted by them. So I’m still stuck with this problem. Can I just use my new API key with my self-hosted blog without it being cited in the Dashboard for that blog? If so, I guess that I can insert it wherever it is needed. I’ll see if that helps. I do not want to create any new blogs. Thanks.

    Micah Cooksey

    (@micahcooksey)

    Ok, all you do with the API key is copy-and-paste it into your akismet settings page. You paste the key in your self-hosted WordPress dashboard, and you’re done with your WP.com account. If you never log in again, that’s fine because you have the key in place and you don’t need your .com account for anything.

    Thread Starter Bob31

    (@bob31)

    Micah,
    I was able to change the API key in the configuration setting for the Akismet plugin, and the change was validated. I believe that this plugin is now fully configured to work with my self-hosted blog. Thanks for your help with this.

    Micah Cooksey

    (@micahcooksey)

    No problem. Glad you were able to get it working.

    Micah Cooksey

    (@micahcooksey)

    Just a note – for security issues, you should upgrade to 2.9.2.

    Micah, copy-and-paste is what I was planning on doing. However, I don’t know precisely WHERE to paste it.

    Below is the section I am looking at. Do I paste the numeric Akismet API key in each of the three locations where ‘WPCOM_API_KEY’ appears? Thanks so much for any help!

    define(‘AKISMET_VERSION’, ‘2.2.7’);

    // 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 = ”;

    Try this, where “#############” is your key:

    // 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 = ‘#############’;

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Attaching API key to current blog’ is closed to new replies.