Display homepage content based on Domain Source

I am building a site for a large church that has a need for basically a website for each ministry.  Im going to use Wordpress to manage it.

They'd like to maintain consistency and have everything start at 1 homepage.

What I'd like to do is alter the content on that page based on what domain the user is coming to the site from.  For example, if they type the main domain, the site is general information but if they use the youth ministry domain, that same page is more geared with Youth information.  I'd like to have a primary navigation for all pages, but if they come from a different domain, i'd like it to auto select a secondary navigation for that ministry.

I realize I could build multiple pages and use domain forwarding but was wondering if there was something more dynamic I could do using wordpress.
LVL 2
axessJoshAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SStoryCommented:
I suppose if you are using a single wordpress instance and are willing to dive into the code (PHP, etc) you could possibly see which domain it was and filter what is displayed in each location by some keywork, perhaps, but I'd think the multiple pages option would be the less complicated,

Or maybe something like this:
http://wordpress.org/plugins/domain-theme/
0
Jason C. LevineNo oneCommented:
Don't use that plugin...it's five years old and probably a security nightmare waiting to happen.

As far as the content based on domain goes you have lots of different choices.  Given that multiple domains are in play, I would consider using Multisite and mapping the domains to subdirectories or possible even using subdomains (youth.ministry.org, etc).  I freely admit that multisite might be overkill though.

Less overkill would be to use multiple different home page templates and control which one gets served up using $_SERVER['REQUEST_URI'] to check the URL given and show a different template in return
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SStoryCommented:
Why not just have a home page and links to each ministry?  If they are separate pages in word press that is OK?  Example

www.ourchurch.org/youth
Is very standard.  If that doesn't exactly match the we generate URL, create a simple HTML,page youth.html that does a redirect to the proper page.

Be advised that multiple domains pointing to the same domain is frowned upon by Google, etc in terms of search results.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.