we have a wordpress site that has been blocked in some countries in Middle East. so we bought a new domain and pointed it to the same root folder. the homepage is showing with the new domain but all the pictures, external codes, and link are blocked due to the fact that they are referring to the first domain.
so, in short, what i want is:
when a user visits: [www.firstdomain.com] i want the contents of the page are all referring to the same domain, like [www.firstdomain.com/articles/1253/]
but when a user visits: [www.seconddomain.com] i want the contents of the page are referring to the second domain, like [www.seconddomain.com/articles/1253]
is that possible using wordpress alone? or should i install a caching script in the second domain?