Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57269


Ignore:
Timestamp:
12/03/2022 08:03:19 PM (2 years ago)
Author:
sabernhardt
Comment:

Hi and thanks for the report!

I think this is the same issue as #55607 and very similar to #33909. We probably should close this ticket as a duplicate of one of those.

Changeset [14517] intentionally removed URL filters in multisite to correct the admin URL, and reinstating them probably could break other things now.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57269

    • Property Keywords close 2nd-opinion added
    • Property Focuses performance removed
    • Property Component changed from Database to Upgrade/Install
    • Property Summary changed from Force WordPress to get it's siteurl from config not from the databes to In multisite, get site URL from config instead of the database
  • Ticket #57269 – Description

    initial v1  
    66so what I suggest is to set the site and home URLs from the wp-config.php file
    77like
    8 define( 'SITEURL', 'https://mywebsite.com' );
     8`define( 'SITEURL', 'https://mywebsite.com' );`
    99
    1010I know it is not very simple, especially with multi-sites but it deserves
    1111
    1212I also tried
     13{{{
    1314define( 'WP_HOME', 'http://example.com' );
    1415define( 'WP_SITEURL', 'http://example.com' );
     16}}}
    1517
    1618but if you don't have 'siteurl' option on your site it will give you
    17 'Error establishing a database connection in the front end
     19'Error establishing a database connection' in the front end
    1820and
    1921'One or more database tables are unavailable. The database may need to be repaired.'
     
    2123which even not the clear error message
    2224die to
    23 wp-includes/functions.php => function is_blog_installed
     25`wp-includes/functions.php => function is_blog_installed`
    2426
    2527