naju 0 Junior Poster in Training

my file structure as:
index.php
signin.php
profile/index.php
profile/add.php
and so on ...

my htaccess content as
RewriteRule ^signin$ signin.php [QSA,L]
RewriteRule ^(.*)$ rate/index.php?q=$1 [QSA,L]

but my 'signin' is also rewritten by the second rule. i tried to stop my first rule with [L] last rule. but it is not working with me.

m i doing somewhere wrong?

thanks in advance..
naju

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.