• Resolved duzybenek

    (@duzybenek)


    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

    (@johndarrel)

    Hi @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.www.ads-software.com/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

    (@duzybenek)

    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

    (@johndarrel)

    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.