15. Site Management and Reporting

Site Settings

Although Expression Web can certainly be used to create and edit single pages, it really shines when used to create and manage entire sites.

Several configuration settings in Expression Web are designed to affect an entire site. These settings are available in the Site Settings dialog shown in Figure 15.1.

Figure 15.1. The Site Settings dialog contains all the settings that apply to an entire site.

image

To access the Site Settings dialog, select Site, Site Settings. There are four tabs in the Site Settings dialog, each of which I discuss in the following sections.

General Tab

The General tab displays general information about the site and allows you to change the name of the site and configure the use of metadata.

image For more information on metadata, see Chapter 2, “Creating, Opening, and Importing Sites.”

When you change a site’s name in the General tab, the folder name changes as well. If the site is server-based, the URL for the site changes, too.


Note

image

If a remote site open in Expression Web is using the FrontPage Server Extensions, you might experience a delay of several seconds before the Site Settings dialog appears. The FrontPage Server Extensions must read the site’s entire configuration before the dialog is displayed.

This delay is not experienced with sites that aren’t using the FrontPage Server Extensions.


If you have a disk-based site open in Expression Web, you’ll see a Maintain the Site Using Hidden Metadata Files checkbox on the General tab. This checkbox controls whether or not Expression Web uses special files called metadata files to store information about your site and its pages. Metadata files are required for some features such as Dynamic Web Templates and Expression Web’s ability to update hyperlinks when you move or rename pages.

Preview Tab

The Preview tab configures how pages should be previewed, as shown in Figure 15.2. You can choose to preview using a site’s path (including using the Microsoft Expression Development Server for ASP.NET or PHP pages) or a custom URL.

Figure 15.2. The Preview tab configures how a site is previewed in your browser.

image


Tip

image

If you are using PHP on a Windows server, use IIS 7 or later if possible because it provides much better PHP performance than other versions of IIS.


image For more information on using and configuring the Microsoft Expression Development Server, see Chapter 33, “Using the Microsoft Expression Development Server.”

If you are using the Microsoft Expression Development Server to serve PHP pages, you can also use the Preview tab to configure the version of PHP that should be used. You should make sure you are using the same version of PHP here that you will be using on the production server.

image For more information on using PHP with Expression Web, see Chapter 32, “Using PHP.”

Using a custom URL is convenient when you need to use a different URL for previewing than the URL used to open the site in Expression Web. For example, if you are using a disk path in Expression Web for a site located on a web server, you can enter an HTTP path for the custom URL that maps to the disk location used by Expression Web. When pages are previewed in Expression Web, they are opened using the URL you specify.

Advanced Tab

The Advanced tab (shown in Figure 15.3) determines whether files and folders that begin with an underscore are displayed in Expression Web, configures the language settings for your site, and allows for the deletion of temporary files.

Figure 15.3. Use the Advanced tab to specify whether files and folders that begin with an underscore are visible, change language settings for your site, and clean up temporary files.

image

By default, files and folders that begin with an underscore are visible in the Folder List and other Expression Web views. (This does not include metadata in _vti folders. They are never visible in Expression Web.) If you want to hide these files and folders (often done to prevent accidental changes to them), check the Hide Files and Folders that Begin with an Underscore Character (’_’) check box and click OK. When you do, Expression Web asks whether you want to refresh the site. Click Yes, and files and folders that begin with an underscore will be hidden in Expression Web.

The setting in the Server Message Language drop-down applies only to FrontPage Server Extensions messages. If the site opened in Expression Web is not a FrontPage Server Extensions—based site, the Server Message Language drop-down will contain only English as an option.

image If you make a change to page encoding and it’s not reflected in your pages, see the “Page Encoding Doesn’t Affect Pages” Troubleshooting note, p. 263, later in this chapter.

The Default Page Encoding drop-down configures the character set specified in the content-type META tag added to pages. The browser uses page encoding to determine which character set to use. When the character set is incorrect, the page does not display correctly.

Expression Web uses a default setting of utf-8 (Unicode), which supports all languages and is the correct encoding for XHTML documents.


Tip

image

One of the symptoms of corrupt temporary files is a site that won’t open. Many times, this kind of problem results in constant disk activity until the Windows swap file fills up and you run out of disk space. If you run into a problem like this and can’t open a site to delete temporary files, you can manually delete the files. They are located in C:Users<user>AppDataRoamingMicrosoftWeb Server ExtensionsCache on Windows Vista, Windows 7, and Windows Server 2008 and in Documents and Settings<user>Application DataMicrosoftWeb Server ExtensionsCache on Windows XP and Windows Server 2003. Make sure Expression Web is closed; then delete all files with a .web file extension.


image For more information on XHTML, see Chapter 12, “Maintaining Compatibility and Accessibility.”

The Delete Files button deletes temporary files that are created for Expression Web to keep track of your site. Although these files don’t take up much room on your hard drive, they can become corrupted and cause strange behavior. Deleting them periodically is a good idea for this reason.

Publishing Tab

The Publishing tab configures the destinations for publishing and settings used when publishing your site (see Figure 15.4).

Figure 15.4. The Publishing tab configures all the settings used when you publish a site in Expression Web.

image

The Publishing Destinations section enables you to configure publishing connections that are available in Publishing view. You can add, edit, delete, and set the default publishing destination here.

image For more information on publishing connections in Expression Web, see Chapter 14, “Publishing a Site.”

By default, Expression Web does not publish subsites. If you want to publish subsites along with your site, check the Include Subsites check box.

Expression Web can also optimize your code when publishing; enable this by checking the Optimize HTML During Publishing check box. To customize how Expression Web optimizes HTML, click the Customize button.

image For more information on customizing HTML optimization settings, see Chapter 14, “Publishing a Site.”

Finally, you can choose to have changes that are made during publishing logged to a log file by checking the Log Changes During Publishing check box. You can then view the log file by clicking the View Log File button.

Site Reports

One of Expression Web’s greatest strengths is in the area of site management. The large array of reports available makes managing a site easier by providing indicators of problems and giving details on other aspects of your site.

The Site Summary view provides a link to some of the reports in Expression Web and also summarizes information about the site. To view the Site Summary (shown in Figure 15.5), select View, Site, Site Summary.

Figure 15.5. The Site Summary provides a summary of a site and links to run more detailed reports.

image

The Site Summary doesn’t list all of the reports available to you. To access all the reports in Expression Web, select the Site Summary drop-down in Site Summary and choose a report from the menu.

The following reports are available in Expression Web:

All Files—Displays all files in the site in a single view. This report also shows the title, location, and other properties of each file.

Recently Added Files—Displays all files recently added to the site. As shown in Figure 15.6, you can select a specific number of days to display files added within that number of days.

Figure 15.6. The Recently Added Files report is configurable using the Report Settings drop-down.

image

Recently Changed Files—Displays all files that have recently changed. Just as with the Recently Added Files report, you can select a specific number of days to display files that have changed within that number of days.

Older Files—Displays all files older than 72 days by default. You can adjust the number of days using the Report Setting drop-down.

Dynamic Web Templates—Shows all Dynamic Web Templates and their file connections.

image For more information on Dynamic Web Templates, see Chapter 19, “Using Dynamic Web Templates.”

Master Pages—Displays all files and any master pages used by each file.

image For more information on Master Pages, see Chapter 27, “Using ASP.NET Master Pages and User Controls.”

Style Sheet Links—Displays all pages and any style sheets linked to them.

image For more information on using style sheet links, see Chapter 18, “Managing CSS Styles.”

Unlinked Files—Shows all files that are not linked to by links that can be followed from the home page. The Links To column shows the number of pages that directly link to a file, and the Links From column shows the number of pages to which the listed file links.


Caution

image

Expression Web can get confused with links in scripts and style sheets. Always investigate any files that show up in the Unlinked Files report to ensure that Expression Web isn’t showing incorrect data.


Slow Pages—Displays all pages that take longer than 30 seconds to load by default. The time threshold can be adjusted using the Report Setting drop-down.

Hyperlinks—Displays the Verify Hyperlink report, as shown in Figure 15.7.

Figure 15.7. Hyperlinks can be verified or edited using the Hyperlinks report.

image

Using these comprehensive reports, you can maintain tight control over the files in your site.

Configuring Reports

The reports in Expression Web are generated using some preset defaults. For example, the download speed of a page assumes a 56k connection by default, and the Recent Files report lists files that are fewer than 30 days old by default. You can configure these defaults by selecting Tools, Application Options to access the Application Options dialog shown in Figure 15.8.

Figure 15.8. The Application Options dialog contains options for configuring the default presets for Expression Web reports.

image

After viewing a specific report, you can return to the Site Summary view by clicking the name of the current report in the upper-left corner of the main window and selecting Site Summary, as shown in Figure 15.9.

Figure 15.9. The drop-down button in the upper-left of the main screen provides quick access to any report.

image

Saving Reports

To share an Expression Web report with another designer, you can easily save any report as an HTML file. Simply display the report and then select File, Save to save it as an HTML file.

Expression Web defaults to saving the report in the current site, but you can specify any location.

Using SEO Reports to Increase Traffic

Search engines drive a lot of traffic to today’s websites. However, anyone who’s ever attempted to locate something on the Internet using a search engine knows that it’s often hard to filter good content from all the clutter. As a web designer, you can greatly increase the chances that you’ll be discovered by paying attention to search engine optimization, or SEO.

Becoming an expert at SEO isn’t easy. Each search engine uses a slightly different approach, and it can be difficult to learn all the subtle differences between search engines. Fortunately, Expression Web makes things easier using the SEO Checker, a new feature in Expression Web 4.

You can access the SEO Checker by selecting Tools, SEO Reports. You can choose to check all pages, open pages, selected pages, or the current page. You can also choose whether you are interested in errors or warnings as shown in Figure 15.10.

Figure 15.10. The SEO Checker makes it easier to optimize your site for search engines.

image

To check your site for SEO, click the Check button. Expression Web displays the results in the Search Engine Optimization panel as shown in Figure 15.11.

Figure 15.11. The Search Engine Optimization panel provides details of all SEO problems Expression Web finds.

image


Tip

image

You can get a concise description of a particular problem by right-clicking on it and selecting Problem Details from the menu.


Along with details of each problem found, Expression Web displays a help topic link that shows details of how you can correct the problem. Unfortunately, this information is weighted toward optimization for Microsoft’s Bing search engine. For example, Expression Web displays a warning if a page is missing the keywords META tag, and Expression Web documentation says that search engines use this tag to identify important keywords in a site. However, not all search engines use the keywords META tag, and Google (the most popular search engine by a wide margin) ignores it completely.

To correct a problem identified by the SEO Checker, double-click on the entry in the Search Engine Optimization panel. When you do, Expression Web opens the page in Code View with the problem highlighted so that you can review it and correct it if you want. As a general rule, you should address all of the issues pointed out by the SEO Checker so that you can maximize your site’s exposure in search engine results.

By checking your pages for SEO problems and correcting problems that Expression Web identifies, you can ensure that your site is optimized for search engines. However, I recommend that you not stop with Expression Web’s report. Google has a comprehensive 22-page document on optimizing your site for its search engine that you can view at http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/en/us/webmasters/docs/search-engine-optimization-starter-guide.pdf. Microsoft has also published a guide for its Bing search engine, and you can access it at http://download.microsoft.com/download/0/D/9/0D94EECB-C767-445E-B708-9C829275995F/Bing--NewFeaturesForWebmasters.pdf.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.142.232