Hi everyone!
I have got two domains with same name but one is .com and the other is .co.uk, lets say www.sitename.com and www.sitename.co.uk for example. When I type in the url www.sitename.com, I want the site to display results that is located in USA and when I type in www.sitename.co.uk, I want the page to display results only in UK.
I am using php and I know displaying the appropriate result is a programming question but I wanted to know what Mod rewrite rule can I use to make it work.
So what I want is
www.sitename.co.uk/index.php (this displays results in uk)
www.sitename.com/index.php (this displays results in usa)
How can I achieve this.
Thanks,
Zub