In my server I have the following folder structure and I want to display each folder project link without the folder name. How can I do this?Root Folder  -> Subfolder1     -> Project folder 1     -> Project folder 2  -> Subfolder2     -> Project folder 3     -> Project folder 4  -> Subfolder3     -> Project folder 5I want to display my project URL without the subfolder, ie:www.domain.com/project folder 1www.domain.com/project folder 2etc....
Hiding folders inside root folder using htaccess
htaccess;mod rewrite
You need to know the relationship between the project-folder and the sub-folder, ie. which sub-folder a particular project is in. If there is no pattern between project-folder and sub-folder and being restricted to .htaccess then I think you'll need to specify each rewrite manually.You can internally rewrite all requests for the respective project to include the appropriate sub-folder.RewriteEngine OnRewriteRule ^project-folder1.* /sub-folder1/$0 [L]RewriteRule ^project-folder2.* /sub-folder1/$0 [L]RewriteRule ^project-folder3.* /sub-folder2/$0 [L]# etc...Note that this is an internal rewrite, not an external redirect, the URL in the address bar won't show the sub-folder.