Support » Networking WordPress » using dev url (IP/~username) with multisite

  • Main site works fine but can’t access dash of sub sites getting a “The page isn’t redirecting properly” message on the browser.

    Got a network setup as sub-directory where main site url would be IP/~username and sub-site I assume would be IP/~username/site-2

    dash of sub-sites poining to IP/~username/site-2/wp-admin

    Also the sub-site front-end shows default network theme with no css.

    this is the multisite definition on wp-content

    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', '');
    define('PATH_CURRENT_SITE', '/~wwwaccou/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define('WP_DEFAULT_THEME', 'foundation-vanila');

    htaccess looks like:

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

    Would be great to have some directions on how to use IP/~usernames with multisite. Thanks in advance!

Viewing 1 replies (of 1 total)
  • also, the subsites css points to

    and the part “/medical/” should probably not be there as it works with:

Viewing 1 replies (of 1 total)
  • The topic ‘using dev url (IP/~username) with multisite’ is closed to new replies.