WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multi Site install shows sub-site admin but no site content (10 posts)

  1. Still_(o)-(o)_Awake
    Member
    Posted 3 years ago #

    Hey everybody, I've read through different threads but haven't found anything with my exact issue. I've gone through the multisite setup with a latest version of wordpress. I have multi site working... sort of.

    I can create sub-folder sites and access each sub-site's admin panel. I cannot, however, access the sub-site. If I create domain.com/sub-site I can't visit that URL but I can visit domain.com/sub-site/wp-admin without issue. Let me re-phrase... I can visit domain.com/sub-site but nothing shows up except for a blank white page.

    I've verified that the proper databases are being created in PHP MyAdmin each time I create a new sub-site, verified that my blogs.dir directory is in wp-content, made the necessary changes to the wp-config.php file and the .htaccess file (code below) but I still cannot figure out why I can't actually see any of the sub-sites.

    For example, going to http://www.121MediaSolutions.com (main site) but I can not view any of the sub-site folders in any way other than to view the admin panel through WP. If I visit http://www.121mediasolutions.com/mrkabobca or http://www.mrkabobca.com both of these ways displays nothing. But click on the admin panel from dashboard works fine. The main site (root domain) is working great and all of the MS admin options show up for a new site, but it won't display anything at the sub-folder web address.
    here's my .htaccess code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]
    </IfModule>
    # END WordPress

    Also the code I added to wp-config.php:

    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.121mediasolutions.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    I also added the define auth salt stuff that wordpress suggested I use... but assume that it's not a good idea to post here since it said it was for security purposes.

    Does this sound like I'm missing something in my configuration, code? In my setup for the new site? I'm not sure where to go at this point. Is this a server issue from my server? I have my own dedicated server at 1and1.com. Do I need to do something to create / modify how my server resolves all of these domain names doing something with the virtual host. By the way this is way out of my realm of understanding. So please be gently when explaining what to do. Any help would be greatly appreciated. Thanks! :)

  2. When I go to your main site I see this:

    This domain has just been registered for one of our customers!
    Domain registration and webhosting at best prices.

  3. Still_(o)-(o)_Awake
    Member
    Posted 3 years ago #

    i know that’s the default landing page of my server. That where I’m having the problem. You see this site http://www.121mediasolutions.com use to be on a stand alone WP install with a dns pointing to 74.208.44.79 on my server. Since I have multiple WP stand alone sites all pointing to this domain, I thought that I should CHANGE the dns for my main site to 74.208.67.250. With the hope this will not mess up the other stand alone installations. Currently the first ip address is set up as a shared and the second is set up as an exclusive. I frankly don’t know what the difference is.

    I’m so damn frustrated with this whole thing!!

  4. Still_(o)-(o)_Awake
    Member
    Posted 3 years ago #

    I change the dns back to 74.208.44.79 the site is up again.

  5. nothing shows up except for a blank white page.

    A blank white page is a php error. pretty much every time.

    What did you change? Did you remove the default theme? Cuz that'll do it...

  6. Still_(o)-(o)_Awake
    Member
    Posted 3 years ago #

    I installed the wp importer as the network admin then I used the import feature to import the xml for the the main site. Once done, I moved to the subdirectory site and clicked on import that’s when I get the white screen.

  7. FIRST get your DNS sorted out.

    You have to change BOTH the DNS and the IP allocation on your server. If you haven't done that, grab your host for help. But you have to tell your server what IP = what domain too :)

  8. Once done, I moved to the subdirectory site and clicked on import that’s when I get the white screen.

    Did you install the import plugin?
    have you read your error logs to see exactly where it's dying?

    Cuz a blank screen on the import menu is completely different issue than your first post.

  9. Still_(o)-(o)_Awake
    Member
    Posted 3 years ago #

    *andrea* - i did import the plugin using the plugins screen. As for the error logs, I really don’t know where they might be and even if I saw them I may not be able to tell if there was a problem or not. This is where my lack of knowledge and experience in these matters stand out like a sore thumb. :(.

  10. Look in the folders on your web space.
    Look for a file called error_log.

    Or if you have a control panel at your host, look for an icon called "logs" or "error logs".

    Otherwise, we're just guessing.

Topic Closed

This topic has been closed to new replies.

About this Topic