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 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!