Home › Forums › WordPress Plugins › Hide My WP › Adding HMWP on Bitnami WP stack
- This topic has 20 replies, 2 voices, and was last updated 7 years, 2 months ago by
Suman M..
-
AuthorPosts
-
January 30, 2018 at 11:32 pm #19867
Hello support this is continuation of ticket on envato forum.
Hello Support,
I’m still not able to access the right .htaccess file shown in your video. I’m using Bitnami stack could you please tell me exactly which file on there to edit or send me the file?. And say where exactly to load it? Here is the WP MU version i’m running:
https://bitnami.com/stack/wordpress-multisite
Please take snapshot of the FTP folder structure so and indicate where folder/file should be place an edited.Thanks VIsh
____________________________________namus25
namus25 AUTHOR TEAM
If you are using bitnami, then please change AllowOverride None to AllowOverride All in httpd-app.conf file to use the .htaccess file. (httpd-app.conf is usually located at /opt/bitnami/apps/wordpress/conf/httpd-app.conf)
______________________________________________<IfDefine USE_PHP_FPM> <Proxy “unix:/opt/bitnami/php/var/run/wordpress.sock|fcgi://wordpress-fpm” timeout=300> </Proxy> </IfDefine>
<Directory ”/opt/bitnami/apps/wordpress/htdocs”> Options +MultiViews +FollowSymLinks AllowOverride None <IfVersion < 2.3 > Order allow,deny Allow from all </IfVersion> <IfVersion >= 2.3> Require all granted </IfVersion>
<IfDefine USE_PHP_FPM>
<FilesMatch \.php$>
SetHandler “proxy:fcgi://wordpress-fpm”
</FilesMatch>
</IfDefine>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [S=2]
uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
1.(DROP THE CODE HERE?) 2. ALSO I see no ‘[OR] at the end of line below. Should i add next to !-f [OR] </Directory>RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
Include “/opt/bitnami/apps/wordpress/conf/banner.conf”
Include ”/opt/bitnami/apps/wordpress/conf/htaccess.conf”January 30, 2018 at 11:34 pm #19868Please confirm line 6 counting from the last line up..
January 31, 2018 at 5:10 am #19875Hi, first of all, make sure that you change “AllowOverride None” to “AllowOverride All” in httpd-app.conf file to use the .htaccess file
Then in .htaccess file (just above the line “RewriteCond %{REQUEST_FILENAME} !-f”) add HMWP rules (from your site’s HMWP settings page)
January 31, 2018 at 11:42 pm #19899Ok so edit the httpd-app.conf to show “AllowOverride All” then go to the .htaccess file where?
1. I see many ,htaccess files. Please provide path to where the correct .htaccess file is located.
2. Is it same path where i found the httpd-app.cont (/opt/bitnami/apps/wordpress/conf/httpd-app.conf)?
3. Because i see a .htaccess-conf file in the same path as httpd-conf.
Please remember i’m using bitnami multisite stack which can be found here:
https://bitnami.com/stack/wordpress-multisitePlease provide those steps to me. Thanks in advance.
February 1, 2018 at 2:06 am #19904The .htaccess file in WordPress root directory where wp-config.php file is located.
February 2, 2018 at 1:53 am #19924This reply has been marked as private.February 2, 2018 at 1:55 am #19925I cant even send the file to you i get a 403 page. what nonsense is this!
February 2, 2018 at 5:15 am #19931For HMWP plugin to work, you simply have to activate it and apply one of the pre-made settings from HMWP start tab. If htaccess file is writable you need not do anything further and you are all done, but if htaccess file is not writable you’ll need to copy HMWP rules from HMWP settings page and add it to htaccess file.
But in your case as you are using Bitnami stack, and htaccess doesn’t seem to be activated by default. Can you please contact your hosting provider and have it enabled for you and know the location of htaccess file?February 13, 2018 at 12:50 am #20132This reply has been marked as private.February 13, 2018 at 4:29 am #20143This reply has been marked as private.February 14, 2018 at 1:13 am #20157This reply has been marked as private.February 14, 2018 at 4:39 am #20162This reply has been marked as private.February 14, 2018 at 11:10 pm #20176This reply has been marked as private.February 15, 2018 at 5:19 am #20184This reply has been marked as private.February 17, 2018 at 4:40 pm #20220This reply has been marked as private. -
AuthorPosts
You must be logged in to reply to this topic.