• Resolved bskousen

    (@bskousen)


    I have created a subdomain. vn.isafyi.com and pointed it to my server. I can test subdomain and it shows apache test page so I know its working. I have a MU site for isafyi.com and I when in and created a new site. For some reason its not working. I have the correct info in wp-config and htaccess and have multiple other subdomains (ie co.isafyi.com, mx.isafyi.com) that do work. In the admin, it shows but when I click on it I get a page stating that the wp-admin folder is not found. I see that the folder was not created in the blogs.dir folder and I do not see any new additions in the db. The permission on blogs.dir folder is 755. I am using rackspace cloud server and I have had problems using ftp so I had to install an ssh uploader plugin to make it work. Could this be a permission issue?

    Here is my wp-config

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

    htaccess

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Don’t worry about blogs.dir right now.

    https://mx.isafyi.com/wp-login.php works BUT….how old is your network? Did you set it up pre WP 3.5?

    Thread Starter bskousen

    (@bskousen)

    Yes, it was setup pre 3.5.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, so that explains the ms files…. blogs.dir won’t have new sites added until you upload images.

    So the error only happens when you log in? Since I can get the wp-login pages on all those sites.

    Thread Starter bskousen

    (@bskousen)

    So, realized that it had nothing to do with wordpress. I had to edit the httpd.conf file on my server to point the new subdomain to my folder.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You may want to set that up for wildcards ?? Save time later.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Subdomain not working in MU’ is closed to new replies.