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

Last reviewed: March 18, 1998
Article ID: Q174428
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows

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" (without the quotation marks).

  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:

          <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>
    

  4. 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 : fpexp fpiis fpunix kbdta
Version : WINDOWS:98
Platform : WINDOWS
Hardware : x86
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.