I've got a website with two domains pointing to it, pointing to the same webspace. To avoid search engine probs I'm trying to redirect the .co. to the.com, but can't seem to get any joy...
I've tried a few variations like:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.domain\.co.uk$
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
Any help would be much appreciated....