Great, thank you very much, it helped. I forgot about drupal's nice URLs
rewrite rules in .htaccess.
Drupal has been rewriting ^/free_trial$ to ^/index.php?q=free_trial
so the final working solution is
RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteCond %{REQUEST_URI} !^/free_tri
Hello list,
I want to do a rewrite rule for all URLs to get rewritten to example.com
This works and can be done with very simple rule:
RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteRule ^/(.*) http://www.example.com/$1 [R=301,L]
The problem is, when i want to exclude a URI.
So t