We will also ensure that no matter how your URL is
typed??”www.yoursite.com or yoursite.com??”search engines will understand that variations
of your URL are, in fact, the same site. To a human, those may look like the same
web site but to a search engine, this could be two different ones! This process of converting
various forms of a URL to a standard form is called URL canonicalization, and
we will talk more about it later.
??? Redirect requests to index.php and index.html to /. This is important, because we don??™t
want the same content duplicated in different URLs of your web site. As you??™ll learn, this
can lead to implicit or explicit search engine penalties.
??? Dynamically generate the page titles to reflect the contents of their pages. Right now, all
pages have the same
, which is a no-no if search engine rankings and usability
are of any importance (and of course they are).
??? Update the pagination in all catalog pages (such as category and department pages) to
include links to all the subpages, not only Previous and Next links. This makes pages of
products easier to access by both search engines and humans.
??? Use the 404 (page not found) and 500 (server error) status codes correctly to reflect
problems with pages in the site.
We will make more SEO-related efforts in later parts of the book, but with these changes,
we??™ll have the basics covered.
Pages:
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294