允许使用.htaccess访问子文件夹中的索引文件

I currently have the following code in my .htaccess file, which is working exactly how I want it to.

However, I want to be able to access mywebsite.com/admin/index.php. What should I add to allow access to the admin folder?

It is working on localhost but not online.

RewriteEngine on
RewriteBase /

RewriteCond %{SCRIPT_FILENAME} !-f    
RewriteCond %{SCRIPT_FILENAME} !-d    
RewriteRule ^([^/]+)/?(.*)$ /?urlget=$1&$2

If you want to access your admin folder directly, then add that test first:

RewriteEngine on
RewriteBase /

RewriteRule ^admin/index\.php$ - [L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/]+)/?(.*)$ /?urlget=$1&$2

In that case, if the request is for admin/index.php it will go there without checking the rest of the conditions.