Welcome to WebmasterWorld Guest from 220.127.116.11
Now is it possible to reduce the structure to just one file, that can read Red, Green, ... as parameters?
If you want to have one dynamic processing page in your root folder that will handle the parameters, use the method from msg#2. you will have to change the url in the rewrite to your script.
RewriteRule ^(.*)$ /dynamic_script.php?color=$1 [L]
Now you can call the variable $color to determine what to show on the page.
should open the following file: mydomain.com/database.php
-- .htaccess --
RewriteRule ^(.*)$ /database.php [L]