I'm am setting up my first network site on a subdirectory based network.
My .htaccess
is copied directly from the "Network Setup" page of the network admin panel. This is currently in the file:
# BEGIN WordPress
RewriteEngine On
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
And the correct section of my wp-config.php
file was copied from the same page, save the first definition:
define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
define( 'DOMAIN_CURRENT_SITE', 'example.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
The resources on the front-end and the admin panel are being requested from https://example.com/
whenever we go to https://example.com/
and from https://example.com/site1
whenever we go to https://example.com/site1
. This is the part I'm not familiar with, is that expected functionality?
What am I missing to be able to successfully request the resources needed to fully render the page?
mod_rewrite
module is enabled.