A Web page title can be different from the file name. For example, the title of your home page could be "My home page" even though the file name is "index.htm."
Specify the title
Specify the file name
A Web page file name is the name of the file created in HTML (HTML: The standard markup language used for documents on the World Wide Web. HTML uses tags to indicate how Web browsers should display page elements such as text and graphics and how to respond to user actions.) format for a single page in Microsoft Publisher. It has an .htm or .html extension; for example, index.htm.
To specify file names for the individual pages in your Web site, do the following:
Specify the file name for pages other than the home page
By default, Publisher automatically creates file names for the pages in your Web site when you publish your Web site to the Web. If you want to specify the file names for the individual pages in your Web site, you can use the Web Page Options dialog box.
- Go to the page for which you want to specify the file name.
- On the Tools menu, click Web Page Options.
- Under Publish to the Web, in the File name box, type the file name for your Web page.
Do not use spaces or special characters in the file name.
Note You cannot use the Web Page Options dialog box to specify the file name for the home page (first page) of your Web site. You must specify a file name for the home page of your Web site when you publish your site to the Web.
Specify the file name for the home page
You can specify a file name for the home page of your Web site when you publish it to the Web. To publish your Web site on the World Wide Web (WWW) (World Wide Web (WWW): The multimedia branch of the Internet that presents not only text, but also graphics, sound, and video. On the Web, users can easily jump from item to item, page to page, or site to site by using hyperlinks.), you need to subscribe to a Web hosting service. It is recommended that you use "index.htm" as the file name for your home page (home page: Main page of a Web site. Usually has hyperlinks to other pages, both within and outside of the site. One Web site can contain many home pages. For example, the Microsoft home page contains a Products home page, which contains other home pages.) because it designates your home page as the default page that will be displayed when visitors type the URL (Uniform Resource Locator (URL): An address that specifies a protocol (such as HTTP or FTP) and a location of an object, document, World Wide Web page, or other destination on the Internet or an intranet, for example: http://www.microsoft.com/.) for your Web site. If you do not use "index.htm" as the default file name for your home page, visitors to your Web site will have to type your URL plus the exact file name for your home page; for example, http://www.adventure-works.com/yourfilename.htm.
- On the File menu, click Publish to the Web.
- In the File name box in the Publish to the Web dialog box, type the URL of the Web or network server where you will save your Web site, and then click Save.
- If prompted, type your user name and password, and then click OK.
The directory associated with your URL will appear in the Publish to the Web dialog box.
- Double-click the folder where you want to save your Web site.
- In the File name box, select index as the default name for your home page.
- Click Save.