Forum Moderators: phranque
RewriteRule ^home_blue$ home?theme=blue
RewriteRule ^home_red$ home?theme=red
RewriteRule ^home_green$ home?theme=green
RewriteRule ^home_purple$ home?theme=pruple
RewriteRule ^home_grey$ home?theme=grey
This all works, but as I have 10 other files in my directory, I don't want to list the above everytime for a different file. Therefore I would like to know what I can put in the place of 'home' that would cover all the files in my directory. Basically I would like to have 5 lines instead of 50 in my .htaccess file.
I understand I may need a RewriteCond line in there, but really wouldn't know where to start. Help on that would be great also.
Cheers,
Richard