I need to hide the "modules" folder from the url "www.domain.com/modules/demo/add.php" I have written the following htaccess code,
Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /
RewriteRule ^modules/(.*)$ /$1 [L,NC,R]
After using the same .htaccess code, I found 404 error. (you can check the demo @ http://crmdemoserver.com/modules/demo/add.php