September 8, 2021 by Paul G. | Hosting, Plugins, WordPress Solutions

How to Install and Activate Plugins Via FTP Without Access to your WordPress Backend WP-Admin Dashboard

Install and activate WordPress plugins featured image Shield Security PRO

Imagine, your website is down and you need to install or activate a certain plugin, maybe you simply don’t have login access and time is of the essence. Trying to upload the plugin doesn’t do the trick, it’s not showing up as activated. This can be quite the pickle.

If you can relate to this scenario then keep reading, this is the perfect article for you.

In this tutorial, we will show you how to install and activate a WordPress plugin via FTP when you don’t have access to the wp-admin dashboard.

But first, what is FTP?

FTP is a protocol for transferring files over the internet. To use this protocol you’ll need to install an FTP program onto your computer, such as Filezilla, and connect your computer to your website via FTP by entering your login credentials.

You can get these credentials in your hosting dashboard, from your webmaster, or from your hosting company’s support team.

Note: If no port is specified and your login info isn’t connecting, try port# 21.

Once you’ve logged in to your WordPress installation using FTP, navigate to the “plugins” folder. You’d want to upload your plugin’s folder into that directory.

Remember – always backup before making any changes or updates! 😉

Next, navigate and log into phpMyAdmin. This is where you access the database of your WordPress install. phpMyAdmin is usually found in the dashboard of your hosting account. If you can’t access it there are tools you can use on your local device such as the phpMyAdmin free software tool where you’d need your database credentials to log in.

Again, you can get these credentials in your hosting dashboard, from your webmaster, or from your hosting company’s support team.

Find the database name that corresponds to the one you’d like to edit and click the plus icon to open its contents. Scroll down that list until you find the table name that ends with “options.”

How to use phpMyAdmin to modify fields in database tables

There are a few options when trying to find the right row:

  1. In the options table, click on the column heading “option_name” to sort the table rows by name. This should make active_plugins the first table row.
  2. Use the “Filter rows” box and type in “active_plugins”. Be sure to set your “Number of rows” to 500 so that it looks at all of the rows, not just the ones showing on the screen.
  3. Enter the following command in the SQL tab in the very top menu of the options screen:
    • SELECT* FROM wp_options WHERE option_name=’active_plugins’

Click the Edit link on the active_plugins row.

There might or might not be content in this field, and it might look confusing, we know.

Let’s break it down for you.

This is an example (cleaned up and easily read by a human) of an entry with active plugins:

i:0;s:19: “Akismet/Akismet.php”;

This is WordPress database code so we’d need to keep the syntax(format).

Let’s take this example:

i:0;s:19: “Akismet/Akismet.php";

0 stands for the first item in the list so it has an index (i) of 0 and the string value (s) is 19 characters. It is one of the active active_plugins.

Note: A;5 { means there are 5 active plugins on the site.

To activate your plugin you’d want to follow the same format so if you’d like to add and activate another plugin, such as Shield Security, you’d add something like this to that input:


As you can see we entered the name of the plugin directory followed by a slash (/) and the plugin file. Since it is going into the example above, we gave it an index value of 6 (i:6).

We want to keep the values in ascending order so that it looks good and has correct syntax.

If there is any whitespace you need to remove it before you save or it won’t work correctly.

Your end result (in this example) would then look like this:

A:5;{i:0;s:19: “Akismet/Akismet.php”;i:1;s:43:”dashboard-widgets-suite/dashboard-widgets.php”;i:2;s:31:”disable-embeds-disable/disable-embeds.php”;i:3;s:32:”disable-emojis/diable-emojis.php”;i:6;s:32:"wp-simple-firewall/icwp-wpsf.php";}

If everything looks good, hit “Go” at the bottom right of your screen.

There you have it, your plugin should be installed and active on your site, yay!

If there are any other issues be sure to run through all these steps again. Keep in mind, sometimes there are other code issues in your site that might be causing issues such as malware or broken code.

If you have any specific issues and still need help reach out to a WordPress backend developer so they can troubleshoot it.

We hope this article helped.

Comment below if it did and we’d love to know if you’ve ever ran into this type of issue and why!

Hello dear reader!

If you want to level-up your WordPress security with ShieldPRO, click to get started today. (risk-free, with our no-quibble 14-day satisfaction promise!)

You'll get all PRO features, including AI Malware Scanning, WP Config File Protection, Plugin and Theme File Guard, import/export, exclusive customer support, and much, much more.

We'd be honoured to have you as a member, and look forward to serving you during your journey towards powerful, WordPress security.

Try ShieldPRO Today →

ShieldPRO Testimonials
@colwl's Gravatar @colwl

Shield Pro does what it says

After having had a website hacked and taken down twice despite having a security plugin, I discovered Shield Pro. I run 5 WordPress websites and Shield Pro works well. Each summery email I receive shows how Shield Pro has protected my sites. Also the people at Shield are so helpful…

@stopdesign's Gravatar @stopdesign

Excellent security plugin with great support

I’ve been using Shield for over a year now. I manage about 20 instances of WordPress, plus some staging servers for each. And I now install Shield by default every time I get WP going. Shield is comprehensive in what it helps protect, its settings are easy to understand and…

@superhub's Gravatar @superhub

great tool

it never disappointed and it has been often very useful.

@tetontrekker's Gravatar @tetontrekker

saved my bum!

I run a few WP sites and have tried several spam and security plugins. This one saved my bum. In the span of 1 year I had 2 people associated with my sites in viral news. (this can happen to you too!) One was a member of a non-profit group,…

Leave a Comment

Your email address will not be published. Required fields are marked *

Click to access the login or register cheese