WordPress.org

Ready to get started?Download WordPress

Forums

2 domains, 1 install, 2 different logos (2 posts)

  1. earlf
    Member
    Posted 1 year ago #

    Hello, I was wondering if I can get some advice.

    I own two domains - site1.com and site2.com - where site2.com is currently just forwarded to site1.com

    Using the same theme, content and wordpress installation, I was wondering how I can detect that a user came from site2.com and just display a different logo in my theme for those visitors.

    Any advice would be appreciated :) Let me know if you need more info.

  2. Just the logo?

    Not really a multisite question. You'd really be doing this: http://php.bigresource.com/Replace-an-img-src-value-based-on-a-referring-URL-039-s-query-string--ZTqq32Yrk.html

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags