• Hi all
    Have a functioning single wordpress site with a UK domain, eg domain.co.uk
    We want to add another domain domain.ie and point it to the same site. MOst of the site will be indentical but we want some pages to dispaly with different content depending on the domain being used.
    Is that possible? If so how? Would that kill page rank?
    Thanks for your help

Viewing 1 replies (of 1 total)
  • There may be an easier way to do this, but if I was doing this I would probably do the following assuming it’s just a few pages:

    1. Install a plugin that allows pages/posts to execute PHP content.
    2. In the appropriate pages/posts drop in an if statement that checks the domain and controls which content is displayed.

    I believe you’ll also have to do something similar in wp-config.php so that the site and home are properly set.

    If you’re going to need to this for a lot of pages, I’d look at alternatives.

Viewing 1 replies (of 1 total)

The topic ‘Change content depending on the domain’ is closed to new replies.