Title: HMWP + multisite + nginx
Last modified: March 31, 2022

---

# HMWP + multisite + nginx

 *  Resolved [duzybenek](https://wordpress.org/support/users/duzybenek/)
 * (@duzybenek)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/hmwp-multisite-nginx/)
 * Hello,
    I have a problem with HMWP (free). The idea of the client is to do multilang
   on multisite (not subdomains). The main domain works perfectly with connection
   to HMWP, but there is a problem with other pages, e.g. ENG (url: `.../en/`). 
   There are a lot of ERR_ABORTED 404 errors in the console. I noticed that the 
   errors are due to wrong URL paths. Should be:
 *     ```
       ... /en/modules/...
       ... /en/lib/...
       ... /en/views/...
       ...
       ```
   
 * but it is:
 *     ```
       .../enmodules/...
       .../enlib/...
       .../enviews/...
       ...
       ```
   
 * Miss out slashes. I also noticed that the error occurs when clicking on links
   on the page. If I copy and paste the same link e.g. `.../en/hello-world/` in 
   a new tab in the browser, then this problem does not occur.
    I am asking for 
   help, the latest version of WP (multisite) is installed, all plugins are up to
   date. Nginx is used.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/hmwp-multisite-nginx/#post-15516829)
 * Hi [@duzybenek](https://wordpress.org/support/users/duzybenek/),
 * Thank you for the details.
 * Are you using any plugin for the multisite or the WordPress default network setup
   >
 * Try and let me know if version 5.0.13 is working:
    [https://downloads.wordpress.org/plugin/hide-my-wp.5.0.13.zip](https://downloads.wordpress.org/plugin/hide-my-wp.5.0.13.zip)
 * Manually install the Hide My WP Ghost Lite plugin:
    Step 1. Log In as an Administrator
   on your WordPress Network site. Step 2. In the menu displayed on the left, there
   is a ‘Plugins’ tab. Click it. Step 3. Now click ‘Add New’. Step 4. There, you
   have the ‘Upload’ button. Click the ‘Upload’ button Step 5. Upload the hide-my-
   wp.zip file. Step 6. After the upload replace the current installed version.
 * Deactivate, reactivate Hide My WP Ghost and test with the custom paths if you
   get the same behavior.
 *  Thread Starter [duzybenek](https://wordpress.org/support/users/duzybenek/)
 * (@duzybenek)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/hmwp-multisite-nginx/#post-15517292)
 * Thank you for your answer. I use the plugin you provided with the same version.
   The problem is occurring. Is it possible to solve it? Thanks.
 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/hmwp-multisite-nginx/#post-15531254)
 * We ran many test on multisite with Nginx and also tried to replicate your setup
   and all seems to work well.
 * Please check the wp-config.php file if you set PATH_CURRENT_SITE correctly.
 *     ```
       define( 'MULTISITE', true );
       define( 'SUBDOMAIN_INSTALL', false );
       define( 'DOMAIN_CURRENT_SITE', 'domain.com' );
       define( 'PATH_CURRENT_SITE', '/' );
       define( 'SITE_ID_CURRENT_SITE', 1 );
       define( 'BLOG_ID_CURRENT_SITE', 1 );
       ```
   
 * John

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HMWP + multisite + nginx’ is closed to new replies.

 * ![](https://ps.w.org/hide-my-wp/assets/icon-256x256.png?rev=3217792)
 * [WP Ghost (Hide My WP Ghost) - Security & Firewall](https://wordpress.org/plugins/hide-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-my-wp/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * 3 replies
 * 2 participants
 * Last reply from: [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/hmwp-multisite-nginx/#post-15531254)
 * Status: resolved