Home Forums WordPress Plugins Hide My WP Nginx Configuration

This topic is: not resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14782
    zenello
    Post count: 2

    Hello,

    I am trying to make the plugin work on a new hoster which is on nginx.

    I have access to the nginx.conf file and have already added the Hide my WP code to the nginx.conf file.

    But it breaks my site I hope you can help me out!

    #14783
    zenello
    Post count: 2
    This reply has been marked as private.
    #14784
    jsahani
    Active
    Post count: 13

    Same thing here !! Please advice.

    Thanks

    #14793
    Suman M.
    Post count: 12480

    Hi, follow these steps for Nginx configuration:

    – in HMWP Start Tab, set ‘Medium Pripacy – More Compatibility’ settings scheme and click on ‘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

    If it’s still the issue then please let us know your website’s wp-admin login details & FTP details (as private reply), so that we can look into it further.

    jsahani, please create a separate ticket regarding the issue you are having. Also generate debug report and post it there.

    #14801
    zenello
    Post count: 2
    This reply has been marked as private.
    #14830
    Suman M.
    Post count: 12480

    The nginx.conf file located at /zenello_8373/wordpress doesn’t seem to be a correct one.
    Nginx config file is usually located in /etc/nginx/sites-available/YOURSITE or /etc/nginx/sites-available/default or /etc/nginx/nginx.conf
    Please contact your hosting provider regarding the correct location for it so that you can add HMWP rules there.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.