WordPress.org

Forums

Multisite Subdomains Not Working (5 posts)

  1. yelloworange
    Member
    Posted 1 year ago #

    Just migrated a multisite from 4gh servers to a single cpanel and have updated everything- plugins, etc.

    All is well! Resolved login loop with hosting technicians. Database is working! No complaints here.. none. I'd kind of like to figure out how to send my specific Godaddy technicians nice stuff.

    The only thing I cannot seem to get working are multisite subdomains. I could not get them working before - same site configuration on 4gh server- and they are not working now, updated WP on Cpanel.

    The correct code from the network setup screen has been installed in htaccess and wp_config files. Have installed a wildcard subdomain in the cpanel 'subdomains' interface : "*".mysite.org.

    Have deactivated and reactivated plugins.

    Have read other topics re: multisite subdomains not working, and have tried as many different suggestions as I can find... seem to be stuck.

    Any thoughts will hopefully someday be repaid in good mojo via the ether or the interwebs.

    Thanks for your time !!!

  2. What do you see in your browser when you go to one of the subdomains? Are the subdomains pointed to the same file path as the primary site?

  3. yelloworange
    Member
    Posted 1 year ago #

    Hey! Thanks for your quick response. The dashboards are working, but I get a completely blank screen when I go to the site urls:

    executives.boyscoutsdpvc.org

  4. yelloworange
    Member
    Posted 1 year ago #

    Actually- after activating our theme, this is what I see (which seems more promising)-- looks like its a conflict in the theme:

    Fatal error: Call to a member function output_content_links() on a non-object in /home/****/****/wp-content/themes/news24-child/content.php on line 37

    This is the block of code that that seems to refer to: (line 37 starts with <?php global $mwm_aal;v):

    <div class="entry-content">
    						<?php //the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'metcreative' ) ); ?>
    						<?php the_excerpt(); ?>
    						<div class="for_better"><?php echo apply_filters('the_content', $post->post_content); ?></div>
    						<?php global $mwm_aal; echo $mwm_aal->output_content_links(); ?>
    							<style type="text/css">
    								.for_better { display: none; }
    							</style>
    						<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'metcreative' ), 'after' => '</div>' ) ); ?>
    					</div><!-- .entry-content -->

    Also- this seems to reference the wrong stylesheet. What do you think about the multisite custom CSS plugins?

  5. What do you think about the multisite custom CSS plugins?

    I use the one in Jetpack, works great.

    Grep your theme for output_content_links andf see where it's being defined. It's being CALLED by $mwm_aal->output_content_links(); but that busted code is what's borking Multisite. it's possible this theme is not Multisite-capable.

Topic Closed

This topic has been closed to new replies.

About this Topic