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 trial

WordPress Local WordPress Development Local WordPress Development Migrating WordPress from Local to Live Server

Gina Bégin
PLUS
Gina Bégin
Courses Plus Student 8,613 Points

My pages are not showing up in live view & now localhost isn't presenting itself correctly, either.

I am on GoDaddy's CPanel hosting — just switched yesterday from their classic linux (old) hosting that didn't allow me to do all the customizations to the database that Zac was showing in the backend. So I made the switch.

It's not showing anything correctly now. I have gone through all the steps and am now getting this when I click into the folder on the index page of local host:

localhost image

It used to look like an actual Wordpress page.

And then when I go to the live site, which is test.dev.kgshowroom.com (test is a subdirectory I had to set up on our domain (dev.kgshowroom.com) in order to develop the new wordpress site without it overriding our main page), it's not working at all:

remote site (live) view.

I am not sure what the heck I might be missing or what I did to mess this up. It was all working fine before this point when I was on the old hosting plan, but like I said, I couldn't do the database modifications in CPanel because my old hosting plan didn't allow for new databases & users to be created, so I was stalled there. Then I got this one and was able to continue on and it is completely not working...?

3 Answers

Gina, by chance did you backup the database?

Gina Bégin
Gina Bégin
Courses Plus Student 8,613 Points

I did — if you mean exporting it from MAMP. Then I imported it into the database in Godaddy as Zac instructed.

Maybe Zac Gordon can provide some suggestions.

Gina Bégin
PLUS
Gina Bégin
Courses Plus Student 8,613 Points

I'm starting to think I was meant to stick to old-fashioned HTML & CSS sites. ;)

Well, databases can be tricky. It's especially true when each host has a different configuration. Static sites are still pretty fashionable, though :smiley:

Gina Bégin
PLUS
Gina Bégin
Courses Plus Student 8,613 Points

I just want to be one of the cool kids, though! :)