i need some help in this htaccess code
RewriteRule ^([0-9a-z\-\_]+)?$ /index.php?url=$1 [L,QSA,NC]
This code change all rewrite urls from
/test-post-name
/index.php?url=test-post-name
but it affect all folders
mean
i have vb in this path
site.com/vb
but the url apper like
site.com/vb/?url=
how can i fix this
to be
site.com/vb/index.php or site.com/vb
The following rewrite will only take place if the request not points to a valid directory or file:
To disable any rewrites inside your
/vbfolder you could add a.htaccessinto that folder and turn of the rewrite engine: