Htaccess File

DiviSpace/DiviSpace-Core/master/.htaccess

REQUEST_FILENAME
#######################################
# .htaccess Created by SiteSpace.club #
#######################################
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]

# add a trailing slash to /wp-admin
#######################################
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*.php)$ $1 [L]
RewriteRule . index.php [L]

# Define Upload Sizes as EB sets these to 2M
# This is then re-defined in wp-config via environment variables
#######################################
php_value upload_max_filesize 256M
php_value post_max_size 256M
Exit mobile version