• Is there a PHP or WordPRess variable that I can assign based on the domain name?

    For example, I own a Dog and Cat washing business and own the domains CatWashers.com and DogWashers.com. Currently they both point to the same wordpress install where I use “Dog or Cat” everywhere on the home page. “Your Dog or Cat will leave smelling fresh!”

    I would like if someone arrived using DogWashers.com to have the home page content say “Your Dog will leave smelling fresh!” and if they arrived using CatWashers.com, it would say “Your Cat will leave smelling fresh!”

    Is that possible?

  • The topic ‘Domain based variables’ is closed to new replies.