Home › Forums › WordPress Plugins › Hide My WP › Nginx Configuration Add to Nginx config file to get all features of the plugi
- This topic has 3 replies, 2 voices, and was last updated 9 years ago by
Suman M..
-
AuthorPosts
-
August 21, 2016 at 8:14 am #11312
Hello, need some help here. Sorry if my question is already asked. Just need to know what to do in order to configure my nginx. It says:
Nginx Configuration Add to Nginx config file to get all features of the plugin.
Nginx config file usually located in /etc/nginx/nginx.conf or /etc/nginx/conf/nginx.conf
You may need to re-configure the server whenever you change settings or activate a new theme or plugin.
If you use sub-directory for WP block you should add that directory before all of below pathes (e.g. rewrite ^/wordpress/lib/(.) /wordpress/wp-includes/$1 or rewrite ^/wordpress/(.).php(.*) /wordpress/nothing_404_404)But is not clean (for me) what to do as steps. What to add and everything with that message. I run it on apache and there is no problems, but this is kind of hard. Any help will be welcome here. Need to hide some urls, that are common for a WP site. By the way the plugin is great.
Here is from the debug report:
Server Environment
============================================================
PHP Version: 5.6.23
Server Software: nginx/1.10.1
WP Max Upload Size: 2 MB
Server upload_max_filesize: 2M
Server post_max_size: 8M
WP Memory Limit: 40M
WP Debug Mode: false
CURL: false
fsockopen: trueWaiting for your reply.
All the best, Blinky
August 21, 2016 at 1:34 pm #11316Hi, if it’s Nginx server and WP single site then follow the steps below. (WP Multisite on Nginx is not supported)
– goto HMWP >> ‘Start’ Tab >> ‘Medium Pripacy – More Compatibility’ scheme >> click ‘Save Settings’
– In Start tab you should see Nginx Configuration button. If you don’t see this button, add &nginx_config=1 to HMWP settings page URL to see Nginx rewrite rules. For example:
http://yourdomain.com/wp-admin/options-general.php?page=hide_my_wp&nginx_config=1– Now add those lines (rewrite rules) to your Nginx configuration file. It’s usually located in /etc/nginx/nginx.conf or /etc/nginx/conf/nginx.conf or /etc/nginx/sites-available/domainname.com
– restart nginx server
We hope it’s clear enough now. Please let us know if it’s still the issue.
August 21, 2016 at 5:47 pm #11325Thanks a lot. Will try it on monday and let you know if there is something wrong, but I thinks is glean enough for me. 🙂 All the best.
August 22, 2016 at 2:49 am #11333Alright! Let us know.
-
AuthorPosts
You must be logged in to reply to this topic.