multiple domains to have different page_on_front (2 posts)

  1. leoseccia
    Posted 6 years ago #

    Hi all,

    I have a number of domains pointing to my wordpress install... And everything works well.

    Now, I would like to set the front page (page_on_front) to be different depending on the domain used. ie.

    http://www.site_A.com -> frontpage = page_A
    http://www.site_B.com -> frontpage = page_B

    Any ideas?

    Thanks in advance for your help. It is really appreciated.


  2. leoseccia
    Posted 6 years ago #

    Hello again,

    If I am to write a plugin to do this:
    - which hooks should I use?
    - how can I set the page_on_front in code?
    - at what stage page_on_front is used to establish what content to serve to the client?

    Thanks in advance.


Topic Closed

This topic has been closed to new replies.

About this Topic