Jump to content

Redirecting from one domain to another, htaccess


ILMV

Recommended Posts

Hello All

 

I already have a Rewrite rule within my htaccess to ensure that the URL always has a www infront. Now I have two web addresses for this domain, one .co.uk address and a .com. I always want to use the .com address, so if people com in using .co.uk, how can I redirect them using htaccess.

 

I have had a look at RewriteCond etc but I cannot understand them.

 

 

Many Thanks,

ILMV

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.