So below URL
http://www.example.com/test-demo/web/index.php
i want to hide /web/index.php.
When i have enter http://www.example.com/test-demo to directly redirect to web index. How to set path alias or any other solution. I have try .htaccess and clean url but not achieve.
My .htaccess file content is
RewriteEngine on
If a directory or a file exists, use the request directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Otherwise forward the request to index.php
RewriteRule . index.php
Thanks in advance.