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 WordPress Admin Settings WordPress Admin Settings Customizing the WordPress wp-config.php File

Where do you find the root directory? It looks like it is on his computer. I am using a local host.

I am using a local host

3 Answers

Jacobus Hindson
Jacobus Hindson
14,429 Points

Hi Jeffrey,

It really depends on your platform and what hosting software you are using. If you are using xampp/mamp then:

For Windows: C:\xampp\htdocs

For Mac: /Applications/MAMP/htdocs/

If you are using something else it may be elsewhere - have a look here first though.

Thanks I found it. Now when you are using shared hosting and working on a real site do you download these files to edit them, or just do it right in the dashboard editor?

Jacobus Hindson
Jacobus Hindson
14,429 Points

I tend to download and edit so the live site is not affected by my changes in case anything goes wrong. That being said if it is a minor edit you can SCP or FTP to the site - edit the file and off you go.

Awesome, thank you for the help!