Installing All in One SEO via Composer

You can install All in One SEO and All in One SEO Pro using Composer. This can help developers who want to automate the process of installing our plugins.

Prerequisites

  • Composer installed on your system.
  • WordPress installation that uses composer.
  • For Pro version only: An active AIOSEO license key.

Installing AIOSEO Lite

Start by adding the AIOSEO repository to your composer file:

composer config repositories.aioseo composer https://licensing.aioseo.com/packages/

The Lite version is available without authentication. Simply run the following:

composer require "aioseo/lite:*"

Installing AIOSEO Pro

Start by adding the AIOSEO repository to your composer file:

composer config repositories.aioseo composer https://licensing.aioseo.com/packages/

The Pro version and any additional addons require authentication with your license key:

composer config -g http-basic.licensing.aioseo.com key [YOUR_LICENSE_KEY]

Run the following to nstall AIOSEO Pro:

composer require "aioseo/pro:*"

Or install specific addons (if your license includes them):

composer require "aioseo/redirects:*"
composer require "aioseo/link-assistant:*"
composer require "aioseo/eeat:*"
composer require "aioseo/image-seo:*"
composer require "aioseo/index-now:*"
composer require "aioseo/video-sitemap:*"
composer require "aioseo/news-sitemap:*"
composer require "aioseo/local-business:*"
composer require "aioseo/rest-api:*"

Customizing the Installation Path (Optional)

By default, packages will be installed to wp-content/plugins/. If you need a custom path, just add the following to your composer.json:

"extra": {
    "installer-paths": {
        "wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
    }
}

Replace wp-content/plugins/ with your preferred directory path.

Updating Plugins

To update to the latest version:

composer update aioseo/pro

To update to a specific version:

composer require "aioseo/pro:4.3.0"

Troubleshooting

Authentication Errors

  • Verify your license key is active and correctly entered
  • Ensure your license key has access to the requested package

Package Not Found

  • For Pro packages: Check that your license key is authorized for the requested package
  • Verify the package name is spelled correctly (aioseo/pro or aioseo/lite)

Installation Path Issues

  • Check that the WordPress plugin directory exists and is writable

Further Assistance

If you need further assistance, please contact our Support team here.