How to Install WP plugin in WordPress with custom admin URL?

How to Install WP plugin in WordPress with custom admin URL? [STEP BY STEP]☑️

Today in this tutorial you will learn about how to install WP plugins in those WordPress site which has customised wp admin. You might have observed that many WordPress users with custom admin path are unable to install any new Plugin in their website only because of  misconfiguration of their WordPress admin path. Let me tell you that if you have customised your wp-admin path then whenever you try to install and activate any plugin it will automatically throw an error.

how to fix "Plugin could not be activated because it triggered a fatal error"

This error generally happens due to renamed wp-admin. In order to solve this error you have to go to the respective path which is shown in the error and then you will find that wp-admin is written which should be your custom admin. This wrong path is the actual reason behind the error.

Watch this short video tutorial on how to fix “Plugin could not be activated because it triggered a fatal error”

How to fix “Plugin could not be activated because it triggered a fatal error”

Step::1 Login to your cPanel admin dashboard

How to Install WP plugin in WordPress with custom admin URL

Step::2 Click on the File Manager icon under FILES section

How to Install WP plugin in WordPress with custom admin URL

Step::3 Next go to public_html and find wp-content folder in your WordPress installation directory

How to Install WP plugin in WordPress with custom admin URL

How to Install WP plugin in WordPress with custom admin URL

Step::4 Next go to Plugins directory and create a php file

How to Install WP plugin in WordPress with custom admin URL

Step::5 You can give any name to this file like “test.php”

How to Install WP plugin in WordPress with custom admin URL

Step::6 Once you have created test.php file, right click and choose the Edit option

How to Install WP plugin in WordPress with custom admin URL

Step::7 Add the code given below

?php
$anything = shell_exec('grep -Ril "wp-admin"');
echo "<pre>$anything</pre>";
?>

How to Install WP plugin in WordPress with custom admin URL

Step::8 This code will find the “wp-admin” wherever written in the website’s code

Step::9 Save the file and close the editor

How to Install WP plugin in WordPress with custom admin URL

Step::10 Open the test.php from new window in your browser and get the output.

How to Install WP plugin in WordPress with custom admin URL

This will show you the list of path where wp-admin i.e old path(Default path) is written. You have to replace this old path(custom path) with the new path wherever required to fix the issue.

Thanks for Reading this article !!! We hope this was helpful to you all.

For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channelhttps://youtube.com/redserverhost.com 

Facebook Page https://facebook.com/redserverhost

Twitter Pagehttps://twitter.com/redserverhost.com

If you have any suggestions or problems related to this tutorial, please let us know via the comment section below.

Tags: cheap linux hostingbuy linux hostingcheap reseller hostingbuy reseller hostingbest reseller hostingcheap web hostingcheapest web hostingcheapest reseller hosting,  cheap reseller hostcheap linux hostcheapest linux hostingbest linux hostingbest web hosting

Scroll to Top