Hi, i have a band directory on my site and i want to be able to put /bandname/ in the url and it will work instead of going /bands/bandname/. I have created a rewrite with the following:
RewriteRule ^(^forum|gallery|images|labels|news)/?$ /bands/$1/index.php [NC,QSA]
What i'm trying to say is if the directory not (forum or gallery or images or labels or news) then it must be a band therefore redirect to the bands page but it does not work.
Appreciate if someone could show me what i've done wrong. Cheers
RewriteRule ^(^forum|gallery|images|labels|news)/?$ /bands/$1/index.php [NC,QSA]
What i'm trying to say is if the directory not (forum or gallery or images or labels or news) then it must be a band therefore redirect to the bands page but it does not work.
Appreciate if someone could show me what i've done wrong. Cheers