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 Local WordPress Development Local WordPress Development Installing a Local Web Server on a PC

On the initial set up of the file index.php it will not connect to Index of/testsite, however if it is index.txt it will

on the initial set up of the file index.php it will not connect to Index of/testsite, however if it is index.txt it will pull up the Index of/testsite. I can read the file it said "test" just as seen in the video.

4 Answers

Alena Holligan
STAFF
Alena Holligan
Treehouse Teacher

Are you maybe trying to access the PHP file as a file on c drive (eg. C:\xamp\htdocs\data.php or file:///c:/xamp/htdocs/data.php) instead of as a webpage (ie //localhost/data.php)? What is shown in your browser address bar?

I have "localhost" in my browser address bar.

It will redirect me to "http://localhost/dashboard/", no clue where to go from here. It does not look at all like the video.

"http://localhost/dashboard/"...all I could thinkd to do is "http://localhost/testsite/", which gives me the parent directory and under that is a link that states "index.txt" when I click on it it said "test" in the notepad just like the video. Except that it should be "index.php". What have I missed?