Rewriting URLs may be necessary to avoid duplicate content or create redirects. This chapter outlines how SEO practitioners can perform them. It covers:

  • Directives: Directives are pieces of code that tell search engines how to crawl and index sites. What directives are supported by the Apache http web server, and what do they do?
  • How to solve canonical problems: Sites with resources that can be assessed through different URLs may encounter duplicate content problems. How can SEO prevent such problems with URL rewrites?
  • Serving specific browsers: With URL rewrites, it is also possible to serve different pages for different browsers. How can SEOs implement this setup?