• Resolved popcornnroses

    (@popcornnroses)


    I just had my WP MU site moved over to a new server from my old one. Because of a misunderstanding, the site was put in the wrong directory to begin with; it had to then be moved to the correct subdomain.

    However, once I got the subdomains working correctly, I am finding that I still cannot reach the Network Admin section. The rest of the sites, and all their dashboards, are operating properly. But the network admin area is still trying to access the level above the folder where it should be accessing. Where and how do I go to change this so that the Network Admin area is pointing to the right place? The site is presently on a new GoDaddy server with cPanel installed.

    This is the last thing I have that is still not working after working on the site for the past 72 hours to correct all the goofups when they moved it. So anyone who could give me some step by step instructions to fix this so that I don’t mess up the structure I have in place that is working for everything else, I’d greatly appreciate it!

    Thanks so much,

    TC Kirkham
    PNRNetworks

Viewing 15 replies - 1 through 15 (of 16 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Read https://codex.www.ads-software.com/Moving_WordPress#Moving_WordPress_Multisite

    You may need to edit the DB manually to fix all this :/

    Thread Starter popcornnroses

    (@popcornnroses)

    OK, I checked everything mentioned in the section of the article on this topic, and as far as I can tell, everything is listed exactly as it should be. I didn’t see any wrong URLs on any of the files mentioned.

    What should the .htaccess file have in it and which folder should I have it in, my public_html folder or the popcornnroses folder?

    Thanks for all your assistance!

    TC Kirkham
    PNRNetworks

    Moderator Bet Hannon

    (@bethannon1)

    The .htaccess file should be in the root folder of the WP install– the same folder as wp-admin & wp-content.

    You can certainly post your .htaccess here for us to take a look at (no security issues there), but if you don’t have access to the Network admin, it does sound like you might have to manually update the database.

    Thread Starter popcornnroses

    (@popcornnroses)

    Well, here’s the contents of my .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    Now, i’m a complete code pleb, so I’m not sure what this should look like but the people at GoDaddy tell me it’s correct.

    What entries in the database should I be specifically looking at, and what am I looking for? As I said, I did check the ones listed in the basic help article, and they all seemed to be ok.

    Thanks,

    TC Kirkham
    PNRNetworks

    Moderator Bet Hannon

    (@bethannon1)

    Can you get into the mainsite dashboard, just not the Network admin? Or are you unable to get logged into the mainsite too?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Check your wp-config.php file too for that folder. It has a base URL path in there.

    Thread Starter popcornnroses

    (@popcornnroses)

    Bet – yes. Everything is working fine except I get an error when I try to access my Network Admin area – the site itself is fine, as is my hosting dashboard within cPanel.

    Mika – is it ok to post contents of wp-config here? Maybe someone can see something I missed.

    Thanks,

    TC Kirkham
    PNR Networks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    DO NOT POST YOUR PASSWORDS!

    If you JUST post the multisite ‘section’ that’s fine ??

    Thread Starter popcornnroses

    (@popcornnroses)

    Here’s what I have in my wp-config file (password removed of course!); I am posting the entire thing because I don’t see or can’t find a “multisite” section..which might be a big part of the problem…

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    define ('WP_ALLOW_MULTISITE' , true ) ;

    [snip]

    define('WP_DEBUG', '');
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'popcornnroses.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    /* That's all, stop editing! Happy blogging. */

    Now, where do I look for what might need changed? I can probably make the changes with some guidance…:-)

    I don’t actually see a “multisite” area, even though it is working correctly…

    TC Kirkham
    PNR Networks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Please don’t sign your posts.

    So I’ve edited your post to show the relevant sections.

    WP_ALLOW_MULTISITE should be right above the define for MULTISITE, and THAT is your multisite section.

    Also you need to actually read that wp-config.php and make your Keys and salts. I deleted it from your post, but please do that ?? Makes better cookies that are harder to crack.

    The specific three lines I was looking for are these:

    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'popcornnroses.com' );
    define( 'PATH_CURRENT_SITE', '/' );

    Those are correct ??

    Can you run a search on your whole DB for the folder name you used to have WP installed in? NOT a replace, just a search.

    Thread Starter popcornnroses

    (@popcornnroses)

    Sorry about the various protocols…:-)

    So I will add the info you suggested, and the line above as indicated and see where that goes.

    The folder name where the site was on the old site, and where it is on the new server is the same – PNRNetworks. I no longer have access to the old site. I’m not certain I know what I am running a search for – the folder name itself? When I search, what should I be looking for?

    Thanks!

    Thread Starter popcornnroses

    (@popcornnroses)

    I tried putting the line in where (I think) you said it needed to be and I got a parsing error, unexpected define on line 84 error message. Do I need to remove something above, because the Allow_multisite command is further up and is marked “true” where it is..

    Sorry i’m such a pleb at coding on this stuff.

    Thanks!

    Thread Starter popcornnroses

    (@popcornnroses)

    It also occurs to me that I never included the full error i’m getting when trying to access my Network Admin . It is going to https://popcornnroses.com/wp-admin/network/ and the error pops up:

    Not Found

    The requested URL /wp-admin/network/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    So that’s what I keep seeing – sorry I never posted it in full before, in case it’s useful.

    Thanks!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I didn’t say add… You should MOVE the line. Not add ?? You already have it.

    So … yeah, okay, that’s a server error, not a WordPress one, and actually is weird because that implies the folder is outright missing.

    Go here: https://ipstenu.org/wp-admin/network/

    THAT is what I would expect to see.

    https://pnr.pnrnetworks.popcornnroses.com/wp-admin/network works though.

    Now THAT is even weirder. If I go to popcornnroses.com it redirects me to pnr.pnrnetworks.popcornnroses.com … what’s that for? I thought you said it was installed at popcornnroses.com

    Thread Starter popcornnroses

    (@popcornnroses)

    OK, well, this was finally figured out by GoDaddy tech this morning. Everything is working now…well, nearly everything. It WAS a server error – They had set things slightly wrong when it was moved, and that’s what was causing the issue.

    I’m sorry for the confusion above, obviously I was mistaken in what was needed. The PARENT site is popcornnroses.com but the wordpress is installed at pnrnetworks.popcornnroses.com. My apologies for confusing you.

    Thanks for all your attempts to help me out, it’s appreciated!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Problems with wp-admin after site moved’ is closed to new replies.