I have a website directory and there i used a folder named 'sub'. inside this folder i place "arts.php" page.
When i browse with "sysdirectory.com/sub/arts.php" link not going to appropriate page.
When i remove the .htaccess page then going to appropriate page.
htaccess code is:
RewriteRule ^search/([^/]+)/([^/]+)/?$ /search.php?pagenum=$1&input=$2 [L,QSA]
RewriteRule ^submit/([^/]+)/([^/]+)/?$ /addsite.php?cat=$1&subcat=$2 [L,QSA]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/?$ /shortpro.php?cat=$1&subcat=$2&pagenum=$3 [L,QSA]
RewriteRule ^([^/]+)/([^/]+)/?$ /product1.php?no=$1 [L,QSA]
Please help me....
Sub foder in server not working with htaccess
Technically this isn't my area of expertise(this is more of a server issue then a php one) but I bet its the fact that your not specifying that path for a rewrite. Add a new rule for that directory and it should work. If not check a how to on .htaccess files.