[wp-trac] [WordPress Trac] #20746: Accessing non-existing theme folder in Network install gives 500 error
WordPress Trac
noreply at wordpress.org
Mon Aug 7 17:58:25 UTC 2023
#20746: Accessing non-existing theme folder in Network install gives 500 error
-------------------------------------------------+-------------------------
Reporter: arkimedia | Owner: (none)
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 dev- | Focuses: multisite
feedback 2nd-opinion |
-------------------------------------------------+-------------------------
Comment (by germanoronoz):
Hello,
Replying to [comment:51 bananastalktome]:
> I am not sure if this is truly a valid fix, but feel that an Apache
generated 404 page rather than WordPress one (while maybe not ideal) is
still better than the current long-standing behavior of an Apache
generated 500 page and internal redirect loop.
Even though this is true, passing those urls directly to Apache makes
WordPress unable to interpret them, so any redirect plugin (Redirection,
Rank Math, Yoast...) will not be able to redirect old urls from images or
other wp-content media to new urls.
Those redirects must be done through .htaccess file, which is quite messy
for unexperienced users.
Does anyone have a clue on how to solve this point?
Thank you everyone!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20746#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list