I get the correct site when logged in but see the sub-site when not

I get the correct site when logged in but see the subsite when not

My site is on3clothing.com when you go to it, F&WM shows up. But the URL says on3clothing.com although it works on my computer when I'm logged in
But my devices and friends computers is where the issue comes up

  • Nastia

    Hello Chelson ,

    Hope you're doing well!

    We solved this issue during the live chat :slight_smile:

    Our developer Ivan provided this mu-plugin:

    <?php
    function wpmu_force_http() {
        if ( !is_main_site() && is_ssl() ) {
            wp_redirect( "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
            exit;
        }
    }
    
    add_action('plugins_loaded', 'wpmu_force_http' );

    And we also removed define('FORCE_SSL_ADMIN', true); from the wp-config.php file.

    Please let us know if you have any further questions!

    Kind regards,
    Nastia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.