How to Install a WordPress Plugin
Install a WordPress plugin from the official directory, upload a ZIP, use WP-CLI or SFTP, then verify it without creating security or compatibility problems.
Quick answer: open Plugins → Add New Plugin in wp-admin. Search the official directory and click Install Now, or select Upload Plugin and choose an installable ZIP. Review the plugin and back up an established site before clicking Activate.
A plugin adds behavior to WordPress. Install one for a defined requirement—not because a setup wizard suggests a bundle of “recommended” software.
Check the plugin before installation
For a directory plugin, review its update history, supported WordPress version, active support topics and documentation. For a commercial plugin, verify the vendor, renewal terms, update delivery and refund policy.
Also ask:
- Does WordPress, the theme or an existing plugin already provide this feature?
- Will the plugin store portable data if you later replace it?
- Does it require an account or send site data to an external service?
- Is it compatible with your PHP version and critical plugins such as WooCommerce?
- Can you test it on staging first?
Do not install nulled commercial plugins. Modified packages can contain malicious code and cannot be trusted to receive authentic updates.
Method 1: Install from the WordPress plugin directory
- Sign in to wp-admin with an administrator account.
- Go to Plugins → Add New Plugin.
- Search for the exact plugin name or feature.
- Confirm the author and plugin details; similar names are common.
- Click Install Now.
- When installation finishes, click Activate.
- Open the plugin’s settings or setup screen and configure only the options you need.
After activation, test the frontend and wp-admin in a private window. Check forms, checkout and caching if the plugin can affect them.
Method 2: Upload a plugin ZIP
Use this for a commercial or custom plugin distributed outside WordPress.org.
- Download the installable
.zipfrom the vendor. - Open Plugins → Add New Plugin → Upload Plugin.
- Choose the ZIP and click Install Now.
- Review the success message, then activate the plugin.
Upload the ZIP itself, not an extracted folder. If WordPress reports that no valid plugin was found, the vendor download may be an outer bundle containing documentation and a second installable ZIP.
If the upload returns an expired-link message, confirm the file is correct and check PHP request limits with this WordPress upload guide.
Method 3: Install with WP-CLI
With SSH and WP-CLI available, run commands from the WordPress root:
wp plugin search redirection
wp plugin install plugin-slug
wp plugin activate plugin-slug
To install and activate in one operation:
wp plugin install plugin-slug --activate
Use the exact WordPress.org slug. On multisite, network activation changes every site and should be an explicit decision—not a default flag.
Method 4: Install through SFTP
Use SFTP when wp-admin uploads are unavailable.
- Extract the plugin ZIP locally.
- Connect to the server with SFTP.
- Upload the plugin folder to
wp-content/plugins/. - Confirm the main plugin PHP file is directly inside that folder, not under an extra nested directory.
- Open Plugins → Installed Plugins and activate it.
Do not make the entire plugins directory world-writable to solve an ownership error. Ask the host to restore correct ownership and permissions.
Fix common plugin installation problems
“Installation failed: Could not create directory”
WordPress cannot write to the target directory or the disk is full. Check storage, ownership and filesystem permissions. Avoid applying broad 777 permissions.
The Add Plugin button is missing
On multisite, only a network administrator can normally install plugins. A managed platform may also restrict plugins, and DISALLOW_FILE_MODS in wp-config.php disables installation and updates from wp-admin.
The site breaks after activation
Rename the new plugin folder with SFTP or deactivate it through WP-CLI. If wp-admin is unavailable, follow How to Disable WordPress Plugins Without Admin Access.
The plugin appears twice
Do not keep old and new folders for the same plugin active. Restore the expected directory name and use the plugin’s supported updater.
After installation
Configure the minimum required settings, test logged-in and logged-out behavior, and document any scheduled tasks, API keys or generated pages. Keep the plugin updated, but test important updates on staging. Continue with How to Update WordPress Plugins Safely.
Frequently asked
- Your account may lack the install_plugins capability, the site may be part of a multisite network, file modifications may be disabled, or the hosting plan may restrict third-party plugins.
- No. Installation places the plugin files on the server. Activation runs its activation process and enables its functionality.
- Usually not. Deactivation normally preserves data, while an uninstall or plugin-specific cleanup option may remove it. Check the plugin documentation before deletion.