When xampp is installed in your computer which contain apache server and you try to open a page directly like http://localhost/work/2011/ but when you press enter this address take you to a search page instead to your desired directory.
Solution for localhost url taking you to search page.
Open addresses using http://127.0.0.1/work/2011/ this will solve your problem.
If you dont want to go to search page when you open http://localhost/ url you should use http://127.0.0.1/ instead of http://localhost/
What problem actually when you open localhost address and that take you to a search page?
Because browser think http://localhost/ is wrong address cause that don’t have .com, .edu or anything else that’s why browser take you to search. But browser understand http://127.0.0.1/ its IP of localhost apache directory.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?