A Web Design Bestseller

Figure K15.1 A newspaper Web site adds dozens of new pages every day, and visitors frequently want to bookmark a Web page they find interesting and even share it with others. A properly formatted permalink, in this case based on the date of the news story and the category of its content, lets visitors return to the page later. Here the permalink, as shown in the address bar, is http://www.nytimes. com/2006/01/08/ politics/08cnd-policy .html.It??s frustrating for visitors to try to return to a site that they found interesting, only to discover that the page they bookmarked is no longer there.

Figure K13.2 Permalinks are short URLs that incorporate the immutable aspects of the page to make the page perpetually available.Create permalinks for site content that you want to be perpetually available. Temporary URLs are suitable for confidential content that you don’t want visitors’ browsers to cache. Use immutable aspects of the page (like date, topic, or street address) and view-specifying parameters to devise a naming pattern for permalinks. If a URL is meant to be saved or shared, design a naming convention that permits short (and preferably human-readable) URLs. Incorporate a directory structure into your URLs that will enable your servers to store large amounts of content perpetually.