• Skip to main content

Victor Font Consulting Group, LLC

Digital Business Strategists

Call Us:

+1 919-604-5828

  • Home
  • Care Plans
    • Care Articles
    • Optional Subscriptions
  • Consultations
  • Products
    • Code Snippets
    • Public GitHub Repositories
    • Gist Snippets
    • Pastebin Snippets (Free)
    • Free Plugins
  • FAQs
  • Support
    • Graphic Design
  • Contact
    • Speakers
    • Portfolio
  • Resources
    • Free WordPress Video Training
    • Tutorials
    • Articles
    • Cybersecurity
    • EU Referral Network
You are here: Home / Code Snippet / WordPress 4 – Install Plugins on Localhost

WordPress 4 – Install Plugins on Localhost

By Victor M. Font Jr.
July 24, 2014Leave a Comment

The WordPress development team has released Version 4.0 Beta 2! Since this version will result in the release of the next edition of Winning With WordPress Basics, I've been spending time learning all about the new features. When I setup a new version of WordPress, especially a beta version, I create a new site in my MacBook Pro's development environment.

The beta installation went well. It's identical to the current version of WordPress with one distinction. You are given a choice of which language to use. When this screen appears, select your language of choice and the installation continues.

WordPress 4.0 Beta 2 Language Selection Install Screen

When the install completed, I logged in and the admin area displayed as expected. I saw that there was already a plugin requiring an update. Turns out it was Akismet. I went through the process to update the plugin and encountered this screen:

WordPress 4.0 Beta 2 FTP Connection Screen for Plugin Updates

I've never seen this screen before so it took me by surprise. When you're running on localhost, there is no server name to enter. Luckily, there is a workaround. Adding the following code to your wp-config.php file sets the ‘FS_METHOD’ to ‘direct’ to allow you to update WordPress Core and install themes directly from the theme repository to your localhost.

WordPress codex explains FS_METHOD this way:

FS_METHOD forces the filesystem method. It should only be “direct", “ssh2", “ftpext", or “ftpsockets". Generally, you should only change this if you are experiencing update problems. If you change it and it doesn't help, change it back/remove it. Under most circumstances, setting it to ‘ftpsockets’ will work if the automatically chosen method does not.

I'm thankful the direct method worked for me. If you have problems with this in your installation, keep trying different methods until one works. Hopefully you'll find one and won't be condemned to installing plugin updates manually.

  • 6shares
  • Facebook0
  • Twitter0
  • Pinterest0
  • LinkedIn6
  • Print
  • SMS0

About Victor M. Font Jr.

Victor M. Font Jr. is an award winning author, entrepreneur, and Senior IT Executive. A Founding Board Member of the North Carolina Executive Roundtable, he has served on the Board of Advisors, of the North Carolina Technology Association, the International Institute of Business Analysis, Association of Information Technology Professionals, Toastmasters International, and the North Carolina Commission for Mental Health, Developmental Disabilities, and Substance Abuse Services. He is author of several books including The Ultimate Guide to the SDLC and Winning With WordPress Basics, and Cybersecurity.

Reader Interactions

VictorFont.com runs on the Genesis Framework

Genesis FrameworkThe Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

Check out the incredible features and the selection of designs. It's that simple—start using Genesis now!

Click here to download The Genesis Guide for Absolute Beginners (PDF - 1.4 MB)

Leave a Reply Cancel reply

Your email address and website will not be published. Required fields are marked *
Posting a comment means that you agree with and accept our Comment & Product Review Policy

Call: +1 919-604-5828

Send us an E-mail

Accessibility Statement | Affiliate Marketing Disclosure | Capability Statement

Cookie Policy | Comment & Product Review Policy | Privacy Policy | Site Map | Terms & Conditions

Copyright © 2003–2022 Victor M. Font Jr.

Return to top of page
Posting....
We only use analytical cookies on our website that allow us to recognize and count the number of visitors, but they do not identify you individually. They help us to improve the way our website works. By clicking Accept you, agree to cookies being used in accordance with our Cookie Policy.OkNoCookie policy