Linoor is a premium Template for Digital Agencies, Start Ups, Small Business and a wide range of other agencies.
888 999 0000

how to write to .htaccess using bitnami instance

You are here:
Estimated reading time: < 1 min

To make the .htaccess file writable when disabled use the following steps.


  • Change AllowOveride None
  • to AllowOveride All


Restart server with following command

  • sudo /opt/bitnami/ restart apache
go into main directory where .htaccess is located
Change the permission with the following script

sudo chmod 666 .htaccess

change it back after .htaccess is written to

sudo chmod 644 .htaccess

sudo chmod 666 htaccess.conf

change it back after htaccess.conf is written to

sudo chmod 644 htaccess.conf


sudo chmod 666 wp-config.php

change it back after wp-config.php is written to

sudo chmod 640 wp-config.php
Was this article helpful?
Dislike 0
Views: 32