I have an app located at example.com/app with signin.php, signup.php, index.php, etc inside the folder.
Now the client wants to have the app accessible at example.com/signin.php and so on, but I want to keep the app files inside the app folder for better management.
I tried using this, and it works, but then I can't access the files that I already had in the root directory:
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteCond %{REQUEST_URI} !^/app/
RewriteRule (.*) /app/$1
Is there a way to exclude pages in the root directory from being affected? Or is there a better way to do this?