Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress WordPress Basics Managing Content in WordPress Logging In to a WordPress Site

Justin Rose
Justin Rose
11,958 Points

Logging into a wordpress site?

ok Im on the basics of wordpress and feel like i should be able to do this if its basic. I have installed MAMP and went through the tutorials on how to put my website into the sites folder. Im not sure if that is where i open this wordpress basics site to start off or do i go somewhere else. any help would be appreciated

thank you

Justin Rose
Justin Rose
11,958 Points

also where do i install the the project files?? this is so confusing i need baby steps

Justin Rose
Justin Rose
11,958 Points

I just uninstalled everything from this track idk why i tried to restart this. i think the instructions are confusing

6 Answers

Sean Gibson
Sean Gibson
38,358 Points

OK, I think I got it. Very simple in hindsight but it always is, eh? I don't know why I thought the wordpress folder was a subfolder. What I failed to understand is that for multiple sites you just copy the wordpress folder into the Sites folder, then rename it. So, you'll have multiple copies of wordpress (with different new names) in your Files folder. Now, just copy the downloaded wordpress folder (the one inside the zip folder - not the zip folder itself) to your sites folder alongside the one from the previous video and rename it to WPbasics. In your phpMyAdmin screen create a new database, just like you did in the previous video. In your browser, type localhost and you should see both the folders as links. Click on the new one, and it will launch a new additional installation of WordPress. Then enter the new database info and your existing user credentials, just like in the previous video. This should get you on your way. Thanks, Mark, for your comments. It put me on the right track of thinking.

Glad you figured it out Sean. Setting up locally can be a bit of a headache and sadly pointing someone in a direction and letting them figure it out or come back with more specific questions or issues is better. Because at some point you may run into an issue where the normal steps don't work.

Once you are a bit more familiar with it. I would checkout Desktop Server by ServerPress or Local by Flywheel.

Desktop Server uses MAMP/XAMP depending on OS but gives you a interface to do it through to speed up the process some.

Local by Flywheel uses Docker which is a bit different.

Personally, I would say go with Desktop Server just starting out.

Justin Rose
Justin Rose
11,958 Points

i did the whole course. still need baby instructions

Sean Gibson
Sean Gibson
38,358 Points

Yeah, I can't quite work out how to transition from the localwp.dev site used in the setup video to the wpbasics.dev site used in this video. I tried adding a wpbasics.dev folder to my Sites folder, then copied wordpress into it. But the browser can't find it. I'm sure I'm missing something simple but don't know what...

Justin Rose
Justin Rose
11,958 Points

thats exactly my issue, i dont believe it gives clear instruction on how to transition

Did you restart MAMP/apache after you moved stuff over?

You would need to create a new DB etc unless it has you use the samething over?

Short version, you can't just copy everything over and it works. You have to repeat it all for database, wp-config etc. There is no just copy/paste and it works.

Sean Gibson
Sean Gibson
38,358 Points

If I type 'local host' into the browser, I can see both databases (from both videos). I also created a new database in phpmyadmin, called 'wpbasics'. If I type in 'local host', then click on wpbasics.dev, then add the /wp-admin to the url, I get NOT FOUND. If I copy the wordpress folder into the wpbasics.dev folder, then type local host, then click on wpbasics.dev link, then the worpress link that now appears, then append wp-admin to the url, I get to a login screen, but nothing happens when I click login. I re-entered the password but still no dice. Frustrating