• I have wordpress installation with domain mirror plugin to host 2 different domains on the same installation. Both are subdomains e.g https://blog.abc.com.au & https://blog.abc.co.nz

    I do have to put links in posts links to my website. What I would like to achieve is that if a user is visiting blog.abc.com.au website all the links point to my https://www.abc.com.au or only that link is displayed and if the user is visiting from blog.abc.co.nz all the links point to https://www.abc.co.nz or only that link is displayed

    At the moment I have to put both the lins eg. nz: https://www.abc.co.nz | au: https://www.abc.com.au. The links are different all the time depending on the post and keep on changing too and there is nothing in domain mirror plugin to help me with this. What could be the easiest way to do this.

    rgds

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter skinewzealand

    (@skinewzealand)

    is anyone able to help please

    use the Domain Mirror Plugin

    br,
    grio.

    Thread Starter skinewzealand

    (@skinewzealand)

    That is what I am using for both the Blog, plus that is not what I want.

    Every Post has a link to one of our website either NZ or AU depending upon which blog they are coming from. Currently I am posting both links

    eg
    For more details from NZ>>
    For more details from AU>>

    These links are not constant they keep on changing depending on the post but the website remains constant depending on the current blog domain they are visiting from, so if they are visiting to blog.abc.co.nz then external link which is outside the blog should be https://www.abc.co.nz or if they are visiting blog.abc.com.au the external links links to https://www.abc.com.au

    So that I can use just 1 link depending on the domain it should say

    For more details>>

    rather than having multiple links

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 Different Links depending on the domain’ is closed to new replies.