• Resolved CyberWoolf

    (@cyberwoolf)


    I’ve configured multisites and setup the network (sub directory). The main site works fine. However, when I go one of the other sites, it just shows a blank directory listing. I can also access the sites in the admin.

    I tried adding Options FollowSymLinks and I get a 403 error of Directory index forbidden by Options directive

    htaccess

    RewriteEngine On
    RewriteBase /~username/
    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).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    config

    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    $base = '/~username/';
    define('DOMAIN_CURRENT_SITE', '1.1.1.1');
    define('PATH_CURRENT_SITE', '/~username/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

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

    (@ipstenu)

    ?????? Advisor and Activist

    when I go one of the other sites, it just shows a blank directory listing

    Did you actually make a folder with the name of your subsite? Becuase they’re supposed to be virtual ??

    Thread Starter CyberWoolf

    (@cyberwoolf)

    LOL I did.. I was creating add-on domains and it made the directories. So will it work when I make the add-on domain live?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You need to delete the directories.

    When you make the add-ons, if you want WP to manage the mapped domains, just point them to where WP is installed.

    Thread Starter CyberWoolf

    (@cyberwoolf)

    Thank you so much ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite Showing Blank Directory’ is closed to new replies.