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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
Or maybe something like this:
http://wordpress.org/plugins/domain-theme/