Link to home
Start Free TrialLog in
Avatar of axessJosh
axessJosh

asked on

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.
Avatar of SStory
SStory
Flag of United States of America image

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/
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.