All Wordfence installations need a License key, also known as an API-key. The key can be a free key or a premium key.
Wordfence License Key
Each Wordfence installation has a License Key, also referred to as an “API-Key”. The License Key is a string of letters and numbers that uniquely identifies your site. This key is used in several of Wordfence’s features to preserve the integrity of data and to make sure that any communication between your site and Wordfence Servers is secure.
When you first install Wordfence you are automatically configured to have the free version. Wordfence will contact our servers and automatically fetch a free License Key which saves you having to come to our site and register. This gets you up and running with our product as fast as possible.
If you decide to upgrade to a paid version of Wordfence, you will need to go to wordfence.com and click on the “Get premium” button. When you purchase premium, you will receive a premium key. This key needs to be installed on your website, via your WordPress admin interface in order to enable Wordfence premium features.
Note that we offer discounts when you buy or renew more than one license. You can read more about our pricing here.
Installing your premium key
When you purchase Worfence premium you receive a new License Key which you need to install on your site to enable Premium features. Your Premium License Keys are stored in your user account on Wordfence.com. You can fetch them from there anytime.
- Sign in to Wordfence.com with the account you created when you ordered the key(s).
- Click the button that says “manage API keys”
- Your keys will be listed on the page you are taken to. Copy the one you want to install
- On your website, go to the wordfence plugins Global Options page (linked from the Dashboard)
- In the “Wordfence License” section, paste the key you copied from wordfence.com into the “License Key” field
- Save options and premium is now enabled
Downgrading your License Key
If you decide you want to use your premium License Key on another website or you want to discontinue your use of Wordfence Premium, you can go the Global Options page in Wordfence and in the Wordfence License section, click to Downgrade to a free License. This removes your premium License Key from the database and automatically fetches a free License Key for your site from our servers. Premium features will be disabled immediately if you choose this option.
Use Wordfence license on staging
A premium license that is valid for a specific site can also be used on a corresponding staging or development site. The staging site has to be enabled by Wordfence premium support staff. Please send in your staging site URL via our premium support ticketing system.
Frequently Asked Questions
- How many keys do I need to buy?
Each installation of the Wordfence plugin requires a unique Wordfence API-key. If you have a WordPress multisite, you still only need one key because a WordPress multisite only has one Wordfence installation. You can not protect more than one WordPress installation (single or multisite) with one premium API-key. It does not matter how many domains you have. It’s only the number of WordPress/Wordfence installations that matters.
- Do I need a key for both my staging and regular website?
No. A Wordfence license can be used on a corresponding staging or dev site. To enable this functionality, send in the URL to your staging site to Wordfence premium support.
- Key is in use on another site
If you get a message saying that your License Key is in use on another site, it can mean that your domain has changed or that you have accidentally installed the same key on two sites. To fix this please:
- Login to Wordfence.com
- Select the button to “Manage API keys”
- Click the checkbox next to the key you want to use on the new site and then click “Reset selected keys”
Once they key has been reset, you can reinstall it in the “License Key” field on the “Global Options” in your Wordfence installation.
- What is an API-key?
An API-key is a unique identifier that Wordfence uses to verify that your site is actually your site and not another site. The key is a code; a long row of jumbled digits and letters. When you install the free version of Wordfence you are automatically assigned a free API-key. When you upgrade to Wordfence premium, you get a premium key which you need to install in place of the free key.