• Resolved ELowe

    (@elowe)


    I made a big mistake today and tried to create a multisite set up for my website. When prompted, I moved all the files to the root (they had been in a sub-directory). Once I had established that, the appearance of the site was not to my liking, so I impulsively moved everything back.

    My problem is this:

    1. All my files are in place
    2. I corrected the .htaccess & wp-config files
    3. The database seems to be okay (I deleted all the pieces that the multi-site exercise created)
    4. When I point my browser to my usual log in screen, the php code returns a blank page. So I can’t get into the dashboard to correct permalinks, etc.

    Additionally, when I point to the sub-directory, I get a listing of all the php files

    Any ideas?

    I’m running 3.1

    Site should be here
    Files located in subdirectory “wp”

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter ELowe

    (@elowe)

    OK, I think I may have found something.

    In my users table, the fields “deleted” and “spam” exist. I don’t see an obvious way to delete those two fields.

    Can you suggest a method?

    Thread Starter ELowe

    (@elowe)

    Ipstenu, I did correct that line in the index.php that exists in the root. I suppose I need to correct that same line in the version that exists within my subfolder?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Elowe – The Database is fine for now. Leave it alone. It won’t affect anything right now ?? Once you turn off multisite, it’s inert.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ipstenu, I did correct that line in the index.php that exists in the root. I suppose I need to correct that same line in the version that exists within my subfolder?

    No, DO NOT edit that subfolder file!

    Add THIS to your wp-config.php please

    define('WP_SITEURL', 'https://pfarc.com/wp/');
    define('WP_HOME', 'https://pfarc.com/');

    And leave your DB alone. I promise you, you DO NOT need to delete anything else right now. What’s in there, the extra tables etc, WILL NOT hurt you.

    Thread Starter ELowe

    (@elowe)

    Thanks Ipstenu.

    Do those two lines need to be in any specific location?

    After the other MySQL settings?

    Or just at the end of the file?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Never at the end of the file ?? Put ’em where you had the multisite lines. By WP_DEBUG is good.

    Thread Starter ELowe

    (@elowe)

    I put them before the Authentication Keys and *good things* are happening!

    Looks like that fixed it. Now I just need to clean up my permalinks.

    Thanks very much for your help. It has been a life-saver!

    By the way, something odd I noticed is the introduction of an additional backslash in the urls of the pages. Is that related to the two lines we dropped into the wp-config file?

    It doesn’t appear to be a problem, links without the extra ‘/’ still work, but it just seems like I should try and clean that up.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No problem ??

    NOW you’ll probably want to hit up the database and edit the site URL and home URL in there. I suspect you set ’em both to https://pfarc.com by accident, and WordPress lost it’s wee little mind!

    Read https://codex.www.ads-software.com/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    The extra fields in the Users table are fine, by the way. They won’t hurt you AND they may be able to be utilized in future versions of WP.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Went Multisite, then changed my mind, now I can't get the wp-login to show’ is closed to new replies.