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 Build a Simple PHP Application Getting Started with PHP Install PHP on Windows 7

Travis Granger
Travis Granger
2,745 Points

I keep getting directed to 'localhost/dashboard' when trying to access local host.

Any suggestions here? I can't seem to get my local host to open as it automatically redirects me to 'localhost/dashboard'

Travis Granger
Travis Granger
2,745 Points

Thanks, Jason. Would you mind being a little more specific? The steps in the video do not indicate the need to locate htaccess so I am a bit confused (and don't even know where to look for it). In case it helps, when I typed in the url 'http://localhost/xampp', I am not brought to xampps menu page but instead brought to a directory listing which lists one item: 'parent directory'. When I click on that, it brings me to 'localhost/dashboard'. While this informs me that I successfully installed xampp, I am continually brought to this page when I try and simply access my local host. Thanks again for your (and anyone else's) willingness to provide some insight...

5 Answers

Travis Granger
Travis Granger
2,745 Points

Thanks, Jason. Would you mind being a little more specific? The steps in the video do not indicate the need to locate htaccess so I am a bit confused (and don't even know where to look for it). In case it helps, when I typed in the url 'http://localhost/xampp', I am not brought to xampps menu page but instead brought to a directory listing which lists one item: 'parent directory'. When I click on that, it brings me to 'localhost/dashboard'. While this informs me that I successfully installed xampp, I am continually brought to this page when I try and simply access my local host. Thanks again for your (and anyone else's) willingness to provide some insight...

Travis Granger
Travis Granger
2,745 Points

I think I fixed this. I didn't delete the extra files in the xampp folder. That seemed to fix the issue.

jason chan
jason chan
31,009 Points

did you check htaccess? make sure you install the correct stack.

SUNPREET SINGH
SUNPREET SINGH
1,411 Points

please help me out i got the same error ....

Travis Granger
Travis Granger
2,745 Points

Sunpreet - please describe the steps you took (and also check the above suggestions) and I'll try and help.

In the video Local Word Press Development "Installing a Local Web Server on a PC" with Zac Gordon. I installed xampp correctly and started apache/mysql with no problem. But when I type in localhost I am not redirected to localhost/xampp/splash.php. I am redirected to localhost/dashboard. What do I need to do?

Cha Hern,delete the index.php file from your htdocs and you should be able to view the list of directories and files from htdocs folder.It worked for me.