Just checking, but did you edit the line in your wp-config to the location for the new database?
Did you go through the entire domain and change the URL to the live domain? As well as the config file?
Thread Starter
jjm335
(@jjm335)
I did and replace on the database before I imported it and then I updated my wp-config for the main site, then the other two. Other then the database and all the wp-configs, is there any other place I need to update it?
Not sure what is up, when I take out the domain current site my main site works fine.
Any ideas?
Thread Starter
jjm335
(@jjm335)
Actually I didn’t do the replace, I used the searchreplacedb.php which worked when I removed the domain current line.
There are lots of places in the database where the domain might be that you wouldn’t expect. I’d suggest reinstalling on the domain with an empty database. Once WordPress is up and running (with the default site), you can create an export file from the localhost site, and import it to the domain site. Once that is done, just upload your wp-content directory (if you haven’t already) and change the settings in WordPress to how you want them.
Thread Starter
jjm335
(@jjm335)
Andrea, I got your last update via email but can’t see it here. Once I get the base working I assume you want me to then go through the steps to setup multi sites (changing the wp-config…)? So your thoughts are that the domain is not updated in the database somewhere still?
Another thing that I’m not sure about is the re-writing rules. Locally I used the .htaccess, on my host they don’t support that because it is IIS. They said if I need to do a re-write I need to update my httpd.ini in my root..I’m lost to what if anything needs to be done with that. Could that be causing this issue?
Just go search in the db on the server to start with. The IIS part will be an issue later. you’re getting the db error because it can;t find that name in the db.
And, you know, double check you have the right db & username for the live server too. π
Thread Starter
jjm335
(@jjm335)
Thanks all, I think I got it. I exported the db from the site again and did a search for localhost and replaced them with my domain. I guess the searchreplacedb doesn’t always work? Site seems to be working now, although, it is extremely slow, not sure why.
Thread Starter
jjm335
(@jjm335)
Just to clarify, the dashboards are extremely slow.
turn off the plugins to start