[wp-trac] [WordPress Trac] #55971: saving settings returns 404 - WP_SITEURL not used?

WordPress Trac noreply at wordpress.org
Mon Jun 13 17:47:19 UTC 2022


#55971: saving settings returns 404 - WP_SITEURL not used?
--------------------------+------------------------------
 Reporter:  mommens       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mommens):

 Adding these redirects to Apache corrects all failing settings:

 {{{
         RedirectMatch /wp-admin/options-general.php /blog/wp-admin
 /options-general.php
         RedirectMatch /wp-admin/options-writing.php /blog/wp-admin
 /options-writing.php
         RedirectMatch /wp-admin/options-reading.php /blog/wp-admin
 /options-reading.php
         RedirectMatch /wp-admin/options-discussion.php /blog/wp-admin
 /options-discussion.php
         RedirectMatch /wp-admin/options-media.php /blog/wp-admin/options-
 media.php
 }}}

 But that's only a hack.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55971#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list