Support » Fixing WordPress » 3 domain names one server

  • I have 3 domain names but one server install. I would like to only change the banner depending on how the person got there. If they came under politicoblogger.com, then the banner will say so. If it was under dailynewsblogger.com then the banner will say that.

    Is there anyway I can code this so it will work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have not tried it myself, but I suppose a plugin can filter option_siteurl, option_home, option_blogname and option_blogdescription to return values that depend on $_SERVER['SERVER_NAME'] so that WordPress works at all three URLs but has different names and descriptions. Maybe there’s already a plugin for this.

    Switching banner graphics might depend on the theme. In TwentyThirteen, for example, you could remove theme support for the custom header and insert a stylesheet that depends on the server name.

    Hmmm… I look for a plugin. I am using a gabfire Newspro theme

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘3 domain names one server’ is closed to new replies.