Skip to content Skip to main navigation Skip to footer

How To

Setup Hide My WP Ghost on Nginx Server

Please follow this tutorial step by step to set up the Hide My WP Ghost for Nginx server:

  1. In your WordPress dashboard, go to Hide My WP > Change Paths
  2. Select the Safe Mode or Ghost Mode,  scroll down and customize the paths as you like
  1. Click the Save button to save the changes.
  2. You will see a message to include the configuration file into nginx.conf file.

If your server is a Linux server, the main path to the nginx.conf file is /etc/nginx/nginx.conf (or /etc/nginx/conf/nginx.conf if you’re using Arch Linux). If the server is a Windows server your nginx.conf file will be located at C:/nginx/conf/nginx.conf)

If your nginx doesn’t have sites-enabled option activated (check for sites-enabled subdirectory in the same directory with nginx.conf file), you will find the server configuration in nginx.conf file like in the below example:

server {
        server_name [your domain name];
        root [path to the website root];
        index index.php;

        location / {
                try_files $uri $uri/ /index.php?$args;
        }

}
(more…)

Hide All The WordPress Common Files with Hide My WP Ghost

What Hide My WordPress Ghost can do:

You can set the Ghost mode to hide all the main WordPress paths:

  • wp-content
  • wp-includes
  • wp-content/uploads
  • wp-content/plugins
  • wp-content/themes
  • wp-comments-post.php
  • author
  • wp-json
  • wp-login.php, wp-login, login
  • wp-admin
  • and all the plugins and themes names
  • show forbidden error for all the old paths and let only the new paths
  • custom URLs using the URL Mapping feature
(more…)

Set Hide My WP Ghost For Bitnami Servers

#1 Bitnami Setup for Apache Servers

Step1: Install, Setup Hide My WP Ghost Plugin and click the Save button with the new paths.

Step2: Copy the rewrite rules from Hide My WP Ghost into Bitnamy config file

Bitnami uses “htaccess.conf” files by default instead of “.htaccess” files for security and performance reasons. You can find more info at https://docs.bitnami.com/general/apps/redmine/administration/use-htaccess/

(more…)