Fix WordPress needs to access your web server / WordPress asking FTP Credentials

So, if you are facing this problem when you are trying to install a new plugin and when you click on install now, there will be a pop which says – To perform the requested action, WordPress needs to access your web server. please enter your FTP credentials.

And the same thing happens when you try to update a plugin or delete a plugin. the popup will appear, and it will ask you FTP credential in order to Install new plugin, in order to update a plugin or if you are going to delete a plugin. If you want, you can add your FTP credentials and perform these actions.

I tested, sometimes it doesn’t work and every time it will nag you to enter your FTP information.

So, let’s see how we can fix this permanently. So, you need to login into your cPanel and then search here File Manager. You can also do this with FTP via FileZilla. Now it depends on you how you want to edit your file.

You need to go to root folder of your website and here you need to find this file which is wp-config.php . Right click on this file and then click EDIT. And then in the end of this file, you need to enter this code – define (‘FS_METHOD’,’direct’); I added this code in the description of this video so you can directly copy this code from there and click on save changes.

Same thing you can do if you are using FileZilla.

You need to add this in wp-config.php file. now if I go back to my website and if I refresh the page. Now if I click on install now, you can see, the plugin is installing.

You can see the problem is gone. And if I try to update the plugin, I click on update now.

You can see the plugin is updating. I hope this tutorial was useful for you. Make sure that you LIKE this video if your problem is SOLVED.

And don’t forget to subscribe to my channel and if you want to know how I improved my website page speed scores 100/100 using LiteSpeed cache plugin, check out this video on your screen. If you want to improve your web skills, then checkout my channel. I created so many useful videos. thank you so much.

See you in another video.

https://dash.sparkloop.app/signup?origin=newsletter_radar&aff=290086c5

$1 offer at 100% commissions, earn 50% commissions

https://mistersafelist.com/?rid=31838

 


Discover more from Making Money Is Easy

Subscribe to get the latest posts sent to your email.

About amorosbaeza1964

Hello, my name is Jose Amorós first of all I wish you a warm welcome to my blogs. It will be a pleasure to share with all of you information about my career and thus evaluate knowledge that will be beneficial for both of us. If you wish, you can contact us through the form, thank you!
This entry was posted in WordPress and tagged , , . Bookmark the permalink.

Leave a Reply