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

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,268 Points

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