Skip to content
wp encryption ssl

WP Encryption

WordPress SSL Plugin

  • ChatGPT AI Content Writer WordPress Plugin
  • Cookie Policy
  • DOCS
  • Hire WordPress SSL Expert
  • Introducing Cert Panel
  • My Account
  • Pricing
  • Refund Policy
  • Sitelock Monitor Features
  • Terms and Conditions
  • Thank You
  • WordPress Mixed Content Scanner
  • WordPress SSL Solution
  • WP ENCRYPTION CDN

Make wp-config.php & .htaccess Writable in WordPress

Home > Docs > Make wp-config.php & .htaccess Writable in WordPress
Note: Modifying server config files via SSH console is a complicated process and may break your site if not done perfectly. If you are not an SSH expert, We highly recommend upgrading to PRO version and let our premium support handle / help with this server setup.

Modifying .htaccess & wp-config.php files would be necessary by various plugins like SSL, Security, Caching, SEO plugins, etc., in order to enable certain features automatically like “Force HTTPS” feature of WP Encryption WordPress SSL plugin.

Manually trying to add some code snippet into .htaccess or wp-config.php files could sometimes go wrong and even with a minor misplacement or error, your WordPress site would be down showing some weird error which would freak out non-technical users. So most of the time, its better to allow trusted plugins to automate the process on its own.

How to make htaccess writable?

If you are wondering what is this .htaccess file, htaccess rules instruct Apache server to handle certain redirections like HTTP to HTTPS and permalinks accordingly. Please follow the step by step instructions to make htaccess writable:

  1. Login to your cPanel / hosting panel.
  2. Find & click on the File Manager tool (Some hosts may have it in different places like tools > File Manager).

3. Navigate to File Manager Settings and make sure to enable “show hidden files” option.

4. In the below screenshot, you can notice file permission of .htaccess file is 444. Setting this to 644 would allow plugins to make changes to this file. You can also revert back this file permission after the change if required.

5. Right click on the .htaccess file and click on Change Permissions option

6. Make the file writable for owner and thus setting the permission to 644.

That’s it!.. Your .htaccess file should now be writable. Reloading the plugin page on your wp-admin would detect these changes. Anyhow, on fully restricted servers & custom managed servers like AWS, Digital Ocean, etc., Changing permissions via FTP or File Manager may be restricted and you might have to login via SSH console and change the file permissions.

In order to make wp-config.php file writable, please follow the same instructions > right click on wp-config.php file and change permissions to 644. Now you have learnt how to handle file permissions like a security ninja! 😉

Post navigation

Fix ERR_SSL_PROTOCOL_ERROR for WordPress
Secure Webmail & Email with an SSL/TLS Certificate

The Ultimate SSL Plugin for WordPress Security!

Upgrade to WP Encryption Pro and enjoy hassle-free SSL installation, SSL renewal, advanced security, vulnerability scanning, login protection & much more!.

UPGRADE

Archive

  • What is X-Frame-Options and How To Use It?
  • Parse Error Reading JWS Error
  • Permit WordPress to Reload Apache2 Server Gracefully
  • Private Key Doesn’t Appear To Be Valid on Google Cloud
  • Restrict Private Key Access on Nginx Server

Categories

  • Apache
  • Bitnami
  • DOCS
  • Linux
  • Nginx
  • OpenLightSpeed
  • Plesk
  • SSL Error
  • Ubuntu
  • Uncategorized
  • WHM
  • WordPress

Tags

AWS Bluehost browser chrome compatibility Digital Ocean ERR_TOO_MANY_REDIRECTS Hostgator HTTPS Linux Mapped Domains Multisite SSL webadmin WHM

© 2020-2026   | Terms & Conditions | Refund Policy | Premium Support | Hire SSL Expert | Docs | My Account

We use cookies to give you the best experience on our website. By continued use of site, you accept all the cookies.

You can find out more about which cookies we are using or switch them off in .

wp encryption ssl
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

3rd Party Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

Cookie Policy

https://wpencryption.com/cookie-policy/