Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJake Opperman
4,871 PointsMigrated site comes up as fresh install
Following along the vid for migrating a locally built wordpress to a live server (using cPanel, not dream host) and I have followed everything but when I go to my site, it wants me to install wordpress and create a user (several steps that are usually there during installation are missing and all I have to do is type in a site name and user). I have re-uploaded, re-uploaded my database, re-exported, re-done basically everything, but I still cannot get it to work.
I am migrating it to the root of my website, and the only thing I can see as different to the vid is that my host (web hosting hub) requires me to prepend my DB name and DB user with my hosting username 'user_'
When I log in to the wordpress theme after installation, I can access the theme I built and activate it but no plug-ins (custom post, custom pages etc) show up. It looks like wordpress isn't accessing my plug ins, but I have checked my ftp on the server and they are all there.
I also tried activating each of the plug ins, then used find and replace to replace all localhost/siteurl to just siteurl (since I was installing it in the root) and this still did not restore it.
Have tried to give as much information as possible, any help would be great
3 Answers
Matt Campbell
9,767 PointsSounds like the DB prefix is different from one installation to the other. DB name sounds to be the same as the install is connecting with the database but an empty one.
Make sure that your local db is user_
You'll want to do a search and replace on it.
Alison Heyer
1,072 PointsI was having the same problem, and I read the above comment and it led me to the answer. My web host was, on importing the db, changing the prefix_name to all lowercase. My config file had PREfix_name as I had originally named it.
Jake Opperman
4,871 PointsYep that was the problem. Thanks Matthew!