Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Direct multiple domains to multiple areas of one site

Hi

I am developing a Wordpress site for a company which promote different products on the site. Each product has a separate page (not e-commerce though). The client has purchased many different domain names – one for the company and then one for each product.

They want the company domain to go to the home page – easy. Where I am confused is that they want the product domain to point to the relevant product page. So basically multiple domain names pointing to multiple pages of the site.

Is this good practice? Shall I do a redirection for each one via a plugin within WordPress? I have tried to tell the client that we should have all domains pointing to the home page and then ensure the home page is designed with those products having priority but they are not happy with that.

Please advise, thanks.

I think you've already taken the right tack on this one. You can advise, providing a well-reasoned defense of the benefits and pitfalls of doing it their way, but at the end of the day, it's their website, right?

So, what are your top 3 reasons for not doing it the clients way? what are your top 3 reasons for doing it your way? Once you have the solidified, and present that to the customer, and let them make an educated decision.

1 Answer

Thanks for your reply Joseph.

Yes, I agree. I don't think they should do it the way they are choosing to and have given them good reasons why. But they are insisting and it's their website, so...

How do I actually implement this? A redirection plugin? Or do I do this via the html access file (which, at this stage, I know nothing about)?

There are probably multiple ways to accomplish this. If you have access, try checking with their hosting provider. GoDaddy has redirect tools, for example. Spend some time in their documentation, and you should be ok.