.htaccess - URI not rewritten although it matches rewrite condition -


one of clients has multiple domains point 1 webspace. avoid duplicate content uris rewritten point 1 place. using code below works 2 of them. far can tell there nothing special them.

sadly don't have administrative access domains, best of understanding .htaccess should enough.

does have idea problem be?

the rule:

<ifmodule mod_rewrite.c>   rewritecond %{https} !=on   rewritecond %{http_host} !^example\.com$ [nc]   rewriterule ^ http://example\.com%{request_uri} [r=301,l] </ifmodule> 


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -