• vitoplano

    (@vitoplano)


    Hello,

    In my Multisite conf. i have an issue regarding a new site registration.

    In the past when I was creating sites the domain was correctly saved as ‘https://site-name.com’
    And the site was working correctly.

    Since a few days, when I try to create a new website, the site URL gets truncated :// (without https)

    https://ibb.co/S7CxWxj

    Additionally we noted that in the database under the table wp_(idsite)_options many fundamental options are missing (such as Siteurl, blogname, adminemail etc.

    https://ibb.co/kK1Xmmg

    We performed a database restore, but it did not work.

    Te problem still persist.

    Furthermore, we compared the config files (.htaccess and wp-config) with a previous version of themselves , witch was actually working fine, but the issue is still there

    Can you help us figuring out what is going on under the bonnet?

    We would like to better understand witch action are performed when we initiate an add site action

    Thanks in advance

    Vito

    • This topic was modified 7 months ago by vitoplano.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    I suspect some plugin or theme is interfering with proper operation. I’m afraid any sites with corrupted URLs and missing options could be unstable and unreliable. It may be wise to remove and re-install these sites once the existing problems are resolved. You can export site content for later importing back into a stable site.

    To eliminate improper influence on network operations, deactivate all plugins network-wide and only enable default Twenty* themes. You should then be able to properly add new sites. To identify the problematic module, restore normal themes and plugins, one at a time, testing the addition of new sites after each. When the problems return, the last activated module is the cause.

    If you’d like to investigate what actually happens when a new site is added, look at the source code for wp_initialize_site().

    I have had issues with wordpress admin pages redirecting after a server setup error even after the error was fixed. Its always worth trying to clear the cache for the domain (in Chrome open developer tools F12 and then right click on hte browser refresh icon top left and select ’empty cache and hard reload’ – fixes a multitude of caching issues…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite SiteURL Issue’ is closed to new replies.