I have Wordpress installed in folder named wordpress
public_html
|
|wordpress
|
|webapp
|
|other folder
|junk folder
and traffic is forwarded to that directory on htaccess file like below.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~webuser/wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /~webuser/wordpress/index.php [L]
</IfModule>
# END WordPress
If i want to access webapp folder i get redirected to wordpress. Is that because there is file index.php in the webapp folder?
I want to allow access to wordpress and webapp folders but not to other folders in public_html. How i can do that with htaccess?