i produce a site inside a wampserver by developing a folder which include all site pages and named

the folder for instance xxxx

after i run http://localhost its open the index from the wamp server

things i want would be to open the index of xxxx after i run the localhoust without adding xxxx

within the path like http://localhost/xxxx

same with that possible

inside your httpd.conf file find DocumentRoot "C:/wamp/www"

and alter it to DocumentRoot "f:/wamp/www/xxxx"

There are several possible solutions here:

  1. Reconfigure apache to make use of xxxx as document root
  2. Setup a redirect inside your primary directory towards the subdirectory, i.e. using a .htaccess rewrite rule or by delivering a redirection header() within the root index.php file.