Home Forums WordPress Plugins Hide My WP Error on Nginx Configuration, need to setup

This topic is: resolved
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #12432
    Ghost990
    Post count: 4

    Hello,

    i just bought this plugin, and on my first attempt with it I ran into error. My site is on nginx server, but I’m just using it, doesn’t have access to the server configuration. In my theme folder, I have an nginx.conf file, I think it has been created by W3 Total Cache. When I click on the Nginx Configuration on the Start tab I get 500 Internal Server Error.

    Can you help me please? Of course I can provide the exported config to help you.

    Thanks!

    #12438
    Suman M.
    Post count: 12480

    Hi, can you please generate debug report from HMWP start tab and post it here as private reply.

    #12439
    Ghost990
    Post count: 4
    This reply has been marked as private.
    #12441
    Suman M.
    Post count: 12480

    All looks good here. To setup HMWP in Nginx environment, you’ll need to follow these steps:

    – 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

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

    #12443
    Ghost990
    Post count: 4
    This reply has been marked as private.
    #12451
    Suman M.
    Post count: 12480

    Hi, from where do we login to backend? Login URL please.

    • This reply was modified 8 years, 11 months ago by Suman M..
    #12454
    Ghost990
    Post count: 4
    This reply has been marked as private.
    #12458
    Suman M.
    Post count: 12480
    This reply has been marked as private.
    #12464
    Ghost990
    Post count: 4

    Hi,

    I had a meeting with the server admins today, and the will switch to Apache instead of Nginx. In that case, I think the rewrite rules will work fine 🙂

    Thank you for your help, I’m closing this topic as resolved. Have a nice day! 😉

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

You must be logged in to reply to this topic.