Page 37 - CS6_DW_Look_Inside
P. 37
Stage 3 Naming and Titling Documents
When a Web server (special computers that store and deliver Web pages) receives a Note:
request for a folder but not a specific page, the Web server delivers the default page
for that folder — usually named index.html or index.htm. There is no practical If a link does not specify
difference between the two extensions; most Web servers can serve files with either a specific file in a nested
extension. folder, the Web server
To create links to the default page in a specific folder, you do not need to include will look for a file named
the file name if you use the index naming convention. Both www.kineticbistro.com/ index.html or index.htm
and www.kineticbistro.com/index.html refer to the same page. inside the defined folder.
If you do not have an
index file in that folder,
renAme PAges for seArCh engine oPtimizAtion the link will result in an
error.
SEO (search engine optimization) is the process of improving the ranking of a
Web site and its pages within SERPs (search engine results pages, or the pages that
list the results of a search). Search engines certainly use the content of a page for
ranking purposes, but the names of folders and files also affect search engine rankings.
Descriptive folder and file names also improve usability; you can use m/menu1.html
for the path to the dinner menu page, for example, but /menus/dinner-menu.html
is much easier for human visitors to understand — and will also improve your search
engine ranking.
In this exercise, you rename the menu pages to more accurately describe what
is contained in the files. As with moving files, the application recognizes when a file
name has been changed and knows that links to the page must be adjusted.
1. With the Kinetic site open, click menus/menu1.html in the Files panel to
select that file.
2. Click the selected filename again to highlight it.
This highlights the existing filename, exluding the extension. Note:
You can also Control/
right-click a file in the
Files panel and choose
Edit>Rename to rename
a specific file.
3. Type dinner-menu, then press Return/Enter. In the resulting dialog box,
click Update to update all pages that link to this page.
Typing when the filename is highlighted replaces the previous file name. Pressing
Return/Enter finalizes the change.
As with moving files, Dreamweaver recognizes that all links to the renamed page need to
point to the new file name.
Project 1: Bistro Site Organization 47

