Home Forums WordPress Plugins Hide My WP Subfolder Installation Nginx

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25909
    InstallationComplete
    Post count: 63

    Can you give an example of what needs to be changed or added on a subfolder install running Nginx?

    # BEGIN Hide My WP
    
    rewrite ^/static/lib/js/embed\.min\.js /wp-includes/js/wp-embed.min.js?tEA_hide_my_wp=1234 last;
    rewrite ^/twentynineteen/(.*) /wp-content/themes/c/$1?tEA_hide_my_wp=1234 last;
    rewrite ^/static_main/style\.css /?parent_wrapper=1&tEA_hide_my_wp=1234 last;
    rewrite ^/static_main/(.*) /wp-content/themes/twentynineteen/$1?tEA_hide_my_wp=1234 last;
    rewrite ^/login\.php /wp-login.php?tEA_hide_my_wp=1234 last;
    rewrite ^/static/lib/(.*) /wp-includes/$1?tEA_hide_my_wp=1234 last;
    rewrite ^/file/(.*) /wp-content/uploads/$1?tEA_hide_my_wp=1234 last;
    rewrite ^/static/ext/(.*) /wp-content/plugins/$1?tEA_hide_my_wp=1234 last;
    rewrite ^/static/(.*) /wp-content/themes/twentynineteen-child-theme/$1?tEA_hide_my_wp=1234 last;
    rewrite ^/ajax /wp-admin/admin-ajax.php?tEA_hide_my_wp=1234 last;
    rewrite ^/(readme\.html|license\.txt|wp-content/debug\.log|wp-includes/$) /nothing_404_404?tEA_hide_my_wp=1234 last;
    rewrite ^/(((wp-content|wp-includes)/([A-Za-z0-9\-\_\/]*))|(wp-admin/(!network\/?)([A-Za-z0-9\-\_\/]+)))(\.txt|/)$ /nothing_404_404?tEA_hide_my_wp=1234 last;
    
    # END Hide My WP
    #25921
    Suman M.
    Post count: 12478

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

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

You must be logged in to reply to this topic.