HEX
Server: Apache
System: Linux b87bae7b6fa1 6.14.0-1013-aws #13~24.04.1-Ubuntu SMP Tue Sep 2 23:08:25 UTC 2025 x86_64
User: daemon (1)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /opt/bitnami/scripts/wordpress/bitnami-templates/apache-wordpress-multisite-subfolder.conf.tpl
# BEGIN WordPress Multisite
# Using subfolder network type: https://wordpress.org/support/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