Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Proper domain redirects for Google rankings

Hello everyone,

My question is about domain redirects.

I have a recent client(who I got thanks to the confidence this site helped me build!) who I built a new WordPress website for.

Their original domain is different then their new domain, as they wanted to rebrand their image. The only issue with this is that Google has extensively indexed their old domain and a simple forwarding does not seem to work very well.

What is the best way to tell Google, and anyone who goes to the old site, how to find the new site?

Example:

"oldsite.com/about" forwards to "newsite.com/about-us"

"oldsite.com/contact" forward to newsite.com/contact-us"

Thanks for the help with this. I am new to domain redirect best practices.

Be well,

Joshua

2 Answers

Salvatore Ricciu
Salvatore Ricciu
1,401 Points

I normally use the 301 redirect ! I'll post a link for better understand what it is about ! http://www.webconfs.com/how-to-redirect-a-webpage.php

Jeff Lemay
Jeff Lemay
14,266 Points

Check out this video made by Google Webmasters: https://www.youtube.com/watch?v=wATxftE8ooE