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

PHP The .htaccess File

Matt Corby
Matt Corby
2,385 Points

Can't find .htaccess in XAMPP

I enabled hidden files in my file explorer yet I can't find .htaccess anywhere in the XAMPP folder. I tried searching the whole thing and found a few html files but that's it.

1 Answer

Alexandre Babeanu
Alexandre Babeanu
10,947 Points

The .htaccess overides apache config files for the directory it is located in. SO typically if you can't find a .htaccess file it means that there is none. just create a .htaccess in your working directory and copy the content from the video.