Is it possible to have my ".htaccess" file with rewrite rules only apply in a folder it is in? As it is applying it to everything even other directories.
HTAccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ pages.php?page=$1
</IfModule>