Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • We tested so long and found the default working configuration.

    To use WP_ALLOW_MULTISITE when you example.com/de

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    define( 'DOMAIN_CURRENT_SITE', 'example.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    This is how we need to look inside .htaccess

    # Enable WP MULTISITE
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # Add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    When you use this default only this WP_ALLOW_MULTISITE works perfectly, but if you have some other plugin that requests to use .htaccess you need to optimize the .htaccess code to how it can work.

    When we log on wp-admin go to wp-admin/network/sites.php and click on add a new site wp-admin/network/site-new.php where the Site Address (URL) * looks like domain.com/ch and click on the button to add site.

    When we back to wp-admin/network/sites.php we won’t visit new sites like domain.com/ch and we visit the default content with theme twentytwentyfour.

    When try to visit https://domain.com/wp-admin/ this is working

    But when we try to visit https://domain.com/ch/wp-admin/ we get this

    The page isn’t redirecting properly, An error occurred during a connection to domain.com. This problem can sometimes be caused by disabling or refusing to accept cookies.

    Network configuration rules for wp-config.php
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    define( ‘DOMAIN_CURRENT_SITE’, ‘domain.com’ ); // When this is false you have domain.com/de when us true have ch.domain.com
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    Network configuration rules for .htaccess
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase /
    RewriteRule ^index.php$ – [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(..php)$ $2 [L] RewriteRule . index.php [L]

    What can be a problem, does anyone have experience with this?

    Thread Starter NewfieSoft

    (@newfiesoft)

    Hi appsbd,

    Thank you for replay ??

    We have online independently alone Elite Licenser environment.

    When online user install license key, Elite Licenser environment get that information and status, If license of that online use change status on inactive or any other type, that change sync get online user and that is good.

    But when localhost user who have internet on localhost machine, take license key from Elite Licenser environment check license status and grab if license is valid and free. But when license change status on any other type like inactive. That change not sync and change status on localhost user.

    On link next link you can see our situations https://www.awesomescreenshot.com/s/folder/F0JPydJvm2/e6f38d693cfae4b90d5745e258e5378a

    Thanks,

    Thread Starter NewfieSoft

    (@newfiesoft)

    Hi Alessio,

    Can you share, some example?

    Thank you,

    Thread Starter NewfieSoft

    (@newfiesoft)

    Hi Alessio,

    We don’t use your quick view plugin. The issue is shown in a modal popup.

    Thread Starter NewfieSoft

    (@newfiesoft)

    Oh our mistake, there was a permutation of the plugin. Because we looking to integrate your plugins free and premium.

    You can close and remove this post, we open on right place here

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