MultiSite Setup
MultiSite Setup
MultiSite Setup
Change WordPress Multisite Domain to subfolder
Have fixed this problem by added a new class “current-site” on the menu. <?php $blogs = get_sites(); $current_site = get_current_blog_id(); foreach( $blogs as $b ){ //$b->blog_id) switch_to_blog($b->blog_id); if($current_site == $b->blog_id){ wp_nav_menu(array( ‘theme_location’=>’primary_menu’, ‘menu_class’=>’navbar current-site’, ‘container’ => false, ‘link_before’ => ‘<span class=”menu-wrap”>’, ‘link_after’=>'</span>’, ‘fallback_cb’ => false, ‘walker’ => new Walker_Nav_Pointers(), )); } else { wp_nav_menu(array( ‘theme_location’=>’primary_menu’, … Read more
How to import product from English version to local language
GCP & WordPress: Domain redirecting to external ip instead
Thanks everyone for even thinking the issue 🙂 Is was actually a hosting configuration issue. Even though I have checked with them many times.
Child sites are slowly loading images from main site (main site is super fast)
Switch between WordPress multisite language
You would do this by editing the site in the network admin, and setting the sites URL to subsite.main.domain, WP doesn’t force you to have everything as a direct subdomain, you could even put completelydifferentdomain.com as the URL and as long as your server is set up to route requests to WP from that domain … Read more
Cant access subdomain after multisite subdirectory install