• I’ve trawled Google search results all day but found nothing that solves my problem.

    I’ve followed the instructions and installed the multisite correctly, insofar as it worked. I have access to the dashboard and am able to ‘create’ new sites. I’ve created several! But I can’t visit any of them, nor can I access their admin/dashboard. The pages just don’t exist. Tables have been created in database. My superuser access sees the sites listed.

    If I go to the newly created site (https://ameliabeare.com/dionomesage) 404 Not found.

    If I try to visit the newly created site dashboard (https://ameliabeare.com/dionomesage/wp-admin/) 404 Not found.

    I see no new folders created.

    I’ve installed this on a ‘home server’, so I suspect there’s some setting somewhere in httpd or php that I’ve missed. But if ANYONE could point me in the direction of how to properly create/access/edit sites, I’d be grateful.

    Inside my htaccess I have:

    BEGIN WordPress Multisite Using subfolder network type: https://www.ads-software.com/documentation/article/htaccess/#multisite

    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    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).) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(..php)$ $2 [L]
    RewriteRule . index.php [L] END WordPress Multisite

    wpconfig looks like so:

    define( ‘WP_ALLOW_MULTISITE’, true );

    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    define( ‘DOMAIN_CURRENT_SITE’, ‘ameliabeare.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    define(‘COOKIE_DOMAIN’, $_SERVER[‘HTTP_HOST’] );

    (I’m sure there’s a better way to display the code, sorry.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your permalinks aren’t working. That’s your root problem.

    And note that this is not only a problem with your Multisite’s subsites: the 404 problem exists for ALL public URLs on the site, including URLs on the primary site (other than the homepage).

    Eg the “Sample Page” on the homepage of the primary domain returned the same 404: https://ameliabeare.com/sample-page/

    My guess is that you don’t have the Apache mod_rewrite (or similar) module installed/activated on your running config, so the .htaccess rules are simply ignored.

    Thread Starter amyty

    (@amyty)

    This is going to be a two-coffee problem to solve, isn’t it? Thank you for pointing this out. I’ll update if I find the solution. It sounds like I need to know more about something I don’t know exists.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite not creating subdirectories’ is closed to new replies.