Chapter 3

Using Redirects for SEO

IN THIS CHAPTER

Bullet Understanding when to use a redirect command

Bullet Discriminating between the different types of redirects

Bullet Understanding 301 and 302 Redirects

Bullet Knowing when to use Meta refreshes

Bullet Considering JavaScript redirects

Bullet Dovetailing your www and non-www domains properly

In your toolbox of search engine optimization (SEO) techniques, the redirect tool is an important one to master. Redirects are HTML or server commands that automatically forward incoming links to another page. With this tool, you can trim outdated pages off your site without losing the visitors who still go to those pages. You can also organize many domains (root names of website URLs) into one site, so that they won't be competing with each other. With redirects, you can avoid creating duplicate content (web pages that search engines see as duplicates of each other) that could damage ...

Get Search Engine Optimization All-in-One For Dummies, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.