Sub foder in server not working with htaccess

ismailctg's Avatar, Join Date: Jul 2011
Newbie Member
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 "" link not going to appropriate page.

When i remove the .htaccess page then going to appropriate page.

htaccess code is:

Options +FollowSymlinks
RewriteEngine on

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....
pein87's Avatar
Ambitious contributor
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.