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

Move Existing WordPress Site to Local

So I'm currently building a site using WordPress and I plan on making my own theme, the only way to do this however is if I migrate my site from live to local. However, when I install WordPress locally, I'm prompted to create a new site and a new account, even if I already have one. How would I do this then?

1 Answer

Couple of questions.

  1. when you migrated the site to local, does your theme show up in themes tab?

  2. did you pull down the database as well?

  3. what do you mean by new account? login and password, or something different?

  1. Haven't created my theme yet. From what I've heard, downloading locally is the only way (I think).
  2. 'Pull down'?
  3. When you press 'run install', you're sent to a page where you enter the name of the site and where you create an account. The thing is, I already have a site and account.

I take it you are using MAMP, you install a fresh install of WP then it asks you for a user name/password then you are downloading a theme into the themes folder of WP.

you should start MAMP and go to the .dev site of your local server.

I actually haven't gotten around to doing anything; I was thinking about how I would approach installing. Also, I'm going to use WAMP.

Yeah, if you want to build a WP site locally you will have to set up a local dev environment up first. WAMP is perfect for that. After you set everything up, I believe you will not have theses issues.

Hopefully you don't mind, but I came across an issue when trying to access localhost: https://teamtreehouse.com/community/sent-to-wamp-page-when-going-to-localhost

Okay, I'm finally at the part of the install that I'm confused on: the installation process. I'm asked to create a new account and site, but I already have one.

Never mind, I don't think that will make a difference, considering I don't intend on making the site live.