...
Practice | Example | Why | How to Do It |
---|---|---|---|
Normalize to www | http://bonsaiframework.com → https://www.bonsaiframework.com Including full urls such as http://bonsaiframework.com/ubuntu/ → http://www.bonsaiframework.com/ubuntu/ | Visually it's more appealing and ensures your domain name stands out more. | |
Redirects should be file based and generally aim to use 301 "Moved Permanently". | Moved permanently is best for SEO and passes between 90-99% of ranking power to the new page. Note transferring content becomes more complex when an entire site changes its domain or when content moves from one domain to another. |