FP98: Publishing CDF File to Server Breaks Link to Home Page

ID: Q174428


The information in this article applies to:


SYMPTOMS

When you publish a Web to a server whose default home page does not have the same name as the home page used by the Channel Definition Format (CDF) file, the link to the home page is broken.


CAUSE

When you publish your Web, references to the home page in the CDF file are not changed to reflect the name of the default home page on the server to which you are publishing.


RESOLUTION

To correct the file name in the Channel Definition Format file, use one of the following methods:

Method 1: Rename Default.htm and rerun the Channel Definition Wizard

  1. Open your Web in FrontPage Explorer.


  2. On the View menu, click Navigation.


  3. Right-click the Default.htm file and then click Rename on the menu that appears.


  4. Rename the page Index.htm.


  5. Double-click the Channel Definition Format (.cdf) file.
    The Channel Definition Wizard will start.


  6. Click Next until you reach the Channel Description panel. In the Introduction Page box, type Index.htm. Click Next.


  7. Click Next 5 more times. Click Save.


Method 2: Modify the CDF File in Notepad

  1. Start Notepad. (On the Windows Start menu, point to Programs, point to Accessories, and then click Notepad.


  2. On the File menu, click Open.


  3. In the Open dialog box, select the CDF file you want to modify.

    When you open the CDF file, it will look similar to the following:


  4. 
    
          <Channel HREF="Default.htm" BASE="http://157.58.80.188/copy_of_somet/"
          SELF="channel.cdf">
          <A HREF="http://157.58.80.188/copy_of_somet/Default.htm"></A>
          <Title>somet</Title>
          <Logo HREF="images/city.gif" Style="Image" />
          <Logo HREF="images/sunset.gif" Style="Icon" />
          <Item HREF="newpage1.htm">
          <A HREF="http://157.58.80.188/copy_of_somet/newpage1.htm"></A>
          <Title>New Page 1</Title>
          <Usage Value="Channel">
          </Usage>
          </Item>
          <Item HREF="Default.htm">
          <A HREF="http://157.58.80.188/copy_of_somet/Default.htm"></A>
          <Title>Home Page</Title>
          <Usage Value="Channel">
          </Usage> 
  5. Change all occurrence of Default.htm to Index.htm.



STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: IIS UNIX MSPWS FPPWS PWS Home Page Publish CDF


Keywords          : kbdta fpexp fpiis fpunix 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 28, 1999