[wp-trac] [WordPress Trac] #20746: Accessing non-existing theme folder in Network install gives 500 error
WordPress Trac
noreply at wordpress.org
Tue Apr 10 07:17:05 UTC 2018
#20746: Accessing non-existing theme folder in Network install gives 500 error
-------------------------------------+-----------------------------
Reporter: arkimedia | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Rewrite Rules | Version: 3.3.2
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses: multisite
-------------------------------------+-----------------------------
Comment (by ajoah):
@wpmuguru I use the code given in WP admin when i create the network :
[[Image(https://snag.gy/mJqity.jpg)]]
{{{
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]
}}}
However i did some mistakes in my tests, so i have updated my previous
comment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20746#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list