Ok I've another question and I am a beginner only at that.

I've this RewriteRule, it redirects the query properly but does not let me make use of the other sites:

RewriteRule ^([0-9A-Za-z]+)/?$ /query.php?id=$1 [L]

and today this RewriteRule to skip each one of these sites however the rule above must be said out with this to operate.

RewriteRule ^(css|js|admin|pages|includes|images)(/|$) - [L]

Can One mix the 2? If that's the case, how?

RewriteRules are checked within the order they exist in the file, if you place the css|js|admin|pages|includes|images rule first, it'll match first and prevent the spinning process prior to the other rule is arrived at. Just make certain to help keep the [L] flag in the finish of this rule.

Additionally, there are this neat trick:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+) query.php?id=$1 [L]

That's, when the file path isn't an existent file or directory, send the request to some PHP script (to ensure that you might load some module dynamically or show a helpful 404 page).