WordPress Needs to Access Your Web Server

by | Last updated Dec 23, 2024 | Published on Dec 23, 2024 | WP Tutorial | 4 comments

Does WordPress need to access your web server? Usually, this strange thing happens when you trying to install, update, or upload a plugin. Do you have ever receive something like the picture below?

The message you receive sound like this.

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

wordPress needs to access your web server

So, what the problem actually?

If you facing this problem, please do not panic. It happens because something just missing in your wp-config.php. So far, based on my research only this problem causes this.

So, in this tutorial I will show you how to fix this problem without headache.

WordPress Needs to Access Your Web Server

Step 1: Log in cPanel or FTP/SFTP

Please log in to your cPanel (if you have) or login to FTP. If you don’t know how to login cPanel or FTP, please refer to the guide on how to login cPanel and how to use FTP.

You can choose one of them. For WPbeginner I recomended you to use cPanel because it more friendly enviroment.

Step 2: Edit wp-config.php

Navigate to public_html » wp-config.php and click edit.

define('FS_METHOD','direct');

On this section, you need to insert or inject the code above into the database configuration.

wordPress needs to access your web server

After injecting the code, click save and need to wait 5-10 minutes to system complete propagate. Sometimes it takes time to make changes to all systems.

Do not forget to clear cookies on your desktop before trying back. If it still now working, please try another PC to open your site.

On this time, your problem should be fixed.

Conclusion

In this tutorial, you just learned how to fix WordPress needs to access your web server. Just to remind you. This matter happens because in your wp-config.php just missing something. Feel free to comment below if you still have problem with this.

4 Comments

  1. If you like this article, then please FOLLOW our Linkedin, Twitter, YouTube, Pinterest, and Facebook. Do not forget to check our services page to upgrade your WordPress. If you find this post has an issue with copyright, outdated, or in error, please contact us to fix it.

    • FaizAlias

      hi…thanks… 🙂

      Reply
  2. ro

    so helpful, thank you!

    Reply
    • FaizAlias

      thanks 🙂

      Reply

Submit a Comment

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

Category

E

WP Tutorial

E

WooCommerce

E

Divi Theme Tutorial

E

cPanel Tutorial

E

SEO & Performance

E

Compare & Review

E

Grammarly

E

Blogger Talk

E

View All Categories

Arbor Design

895 South Randall Road, Chicago

Arbor & Landscaping

4999 Old Orchard Center, Chicago

Let's start work together

Pin It on Pinterest