WP Engine

Solutions
AgencyEnterpriseSmall & Medium BusinessMarketer
How WP Engine supports marketers.Benefits for marketers.Features that help you innovate.
Developer
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Explore Our Platform
Insights
Thought LeadershipTopics

Read articles, trends, and insights on these topics from leaders in marketing and technology.

Creative AgilityEnterprise PerformanceActionable IntelligenceEcosystem Integration
Resources

Access ebooks, whitepapers, webinars, and other knowledge from our ecosystem of digital experts.
Visit Resource Center.

Delivering a Slam Dunk Experience on WordPressEbook: The Ultimate Guide to WordPress Plugins15 Common WordPress Mistakes Agencies and their Clients Make
Case Studies
About
Our CompanyOur PlatformLatest News

Access the latest news from inside WP Engine.
Visit the Newsroom.

WP Engine Secures Strategic Growth Investment From Silver LakeWP Engine Unveils First WordPress Digital ExperienceWP Engine Expands Global Presence with New Office in Brisbane
Media Center

Get announcements and resources about WP Engine.

Press Releases
Careers at WP Engine
Pricing
Sales Questions?

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Compare Plans
Need Support?
Support DocumentationBilling HelpSupport

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to get expert one-on-one help.

Log in for support

Sales Questions

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Sign in
Sign in
Search

Search

Compare Plans
Call Sales +1-512-201-4819
Menu
AgencyEnterpriseSmall & Medium BusinessMarketers
How WP Engine supports marketers.Benefits for marketersFeatures that help you innovate.
Developers
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Our PlatformPricingResource CenterOur CompanySolution CenterThought LeadershipDocumentationCareers

Read-Only File Configuration

Austin Gunter 8.28.2012

Read-Only file systemRecently, we added a new configuration option for all the sites we host that allows us to temporarily prevent edits to customer sites when our support team needs to dive in to troubleshoot important issues and get sites back up and running. It’s called the “read-only file system.”

If you peek into your wp-config.php file and see:

"readonly_filesystem" => true

This setting is on. Your site will be unable to write PHP files to disk, even when a user is authenticated with WordPress.

Since this setting locks down edits, it’s something we would only use temporarily, when completely necessary, and when we have communicated directly with the developer and/or site owner. Constant communication will be the first priority with this setting because plugins and themes may not work when this is activated.

Of course, during these situations, our support team will only temporarily activate the setting, and once the support issue has been resolved, we’ll set this to false and normal site functionality will resume.

Now, when this is activated, you would be able to use any non-web mechanism to update the filesystem, including SFTP and git-push. Activating this setting is also helpful for the folks using git-push-to-deploy because if you’re using git, you don’t want to edit files directly, but instead via git-push.

When this is activated, users can still create and edit posts as well as media files. Only the ability to modify PHP files is constrained to either SFTP and git. If you’d like, you can specifically request that our support staff turn the read-only filesystem configuration for your site. Customers who want to only be able to modify files via SFTP and git can request this and our support team will activate this for you.

 

 

More WordPress news from WP Engine

Why Blog?Finely Tuned Consultant: Lisa Sabin-Wilson

Comments

  1. Marc Tibesar says

    August 30, 2012 at 8:24 am

    Is this a viable new way of hardening a WordPress site on a day to day basis?

    Reply

Leave a Reply Cancel reply

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

  • Subscribe

    Subscribe to our blog to get great tips for your WordPress site.

  • Favorite Tweets by @wpengine
  • Sign In

    Solutions

    • Agency
    • Enterprise
    • SMB
    • Marketer
    • Developer

    Insights

    • Blog
    • Torque
    • Velocitize

    About

    • Our Company
    • Leadership Team
    • Our Platform
    • Careers
    • Affiliates
    • Contact
    • Legal
    • Newsroom
    • Privacy Policy

    Resources

    • Resource Center
    • Documentation
    • Solution Center
    • Find an Agency

    WP Engine

    504 Lavaca Street, Suite 1000
    Austin, TX 78701

    Sales

    +1-512-201-4819
    [email protected]
    7am–7pm CST

    Billing

    [email protected]

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Instagram
    • RSS
    © 2013—2026 WPEngine, Inc. All rights reserved.
    WP ENGINE®, VELOCITIZE®, TORQUE®, EVERCACHE®, and the cog logo service marks are owned by WPEngine, Inc.