mshacter
01-16-2001, 04:01 PM
I recently solved a problem publishing my web site with FrontPage 2000, the solution to which may be useful to others.[nbsp][nbsp]I hope this does not repeat something everyone already knows.
The problem:[nbsp][nbsp]When publishing with FrontPage, the program will compare the files on your web site with the files on your hard drive.[nbsp][nbsp]It will kindly offer to remove any files on the web site that are not on the hard drive.[nbsp][nbsp]This can be extremely annoying; for example, telling FrontPage leave all the files in the /stats subdirectory alone.
The solution:[nbsp][nbsp]Create a dummy subweb on your hard drive.[nbsp][nbsp]When you publish the web, tell FrontPage not to publish any subwebs.[nbsp][nbsp]The details for instructing FrontPage to ignore files in the /stats subdirectory are as follows:
1. Open your web.[nbsp][nbsp]Make sure the 'Folder List' is visible.[nbsp][nbsp](From the View menu, select Folder List)
2. Right click a blank space in the Folder List and select 'New Folder'.[nbsp][nbsp]Name the new folder 'stats' (without the quotes and all lower case).
3. Right click on the new stats folder you just created and select 'Convert to Web').[nbsp][nbsp]Click 'Yes' in response to the question 'Are you sure you want to do this?'[nbsp][nbsp]Aside from a few maintenance folders and files created by FrontPage, the stats folder on your hard drive will be empty and will stay empty, i.e. you do not need to import any files from your web site.
4. When you are ready to publish your web, select 'Publish' from the 'File' menu.
5. In the 'Publish Web' dialog, make sure the 'Include subwebs' checkbox is clear (i.e. unchecked).[nbsp][nbsp]If you don't see the 'Include subwebs' checkbox, click on the 'Options' button.
6. Click 'Publish'.[nbsp][nbsp]You're done.
The same procedure can be used to cause FrontPage to ignore any other subdirectories you have in your /www subdirectory; for example any IRMs that are maintained separately.[nbsp][nbsp]In the case of IRMs, you could also make real subwebs on your hard drive, in which case you could might decide you want to 'Include subwebs' when you publish.
Note:[nbsp][nbsp]For the odd page on your web--like 404.html and robots.txt--it is easiest to import it into your web on your hard drive, to prevent FrontPage from offering to delete them.
Hope this helps. Mike
[This message has been edited by mshacter (edited 01-16-01@4:06 pm)]
The problem:[nbsp][nbsp]When publishing with FrontPage, the program will compare the files on your web site with the files on your hard drive.[nbsp][nbsp]It will kindly offer to remove any files on the web site that are not on the hard drive.[nbsp][nbsp]This can be extremely annoying; for example, telling FrontPage leave all the files in the /stats subdirectory alone.
The solution:[nbsp][nbsp]Create a dummy subweb on your hard drive.[nbsp][nbsp]When you publish the web, tell FrontPage not to publish any subwebs.[nbsp][nbsp]The details for instructing FrontPage to ignore files in the /stats subdirectory are as follows:
1. Open your web.[nbsp][nbsp]Make sure the 'Folder List' is visible.[nbsp][nbsp](From the View menu, select Folder List)
2. Right click a blank space in the Folder List and select 'New Folder'.[nbsp][nbsp]Name the new folder 'stats' (without the quotes and all lower case).
3. Right click on the new stats folder you just created and select 'Convert to Web').[nbsp][nbsp]Click 'Yes' in response to the question 'Are you sure you want to do this?'[nbsp][nbsp]Aside from a few maintenance folders and files created by FrontPage, the stats folder on your hard drive will be empty and will stay empty, i.e. you do not need to import any files from your web site.
4. When you are ready to publish your web, select 'Publish' from the 'File' menu.
5. In the 'Publish Web' dialog, make sure the 'Include subwebs' checkbox is clear (i.e. unchecked).[nbsp][nbsp]If you don't see the 'Include subwebs' checkbox, click on the 'Options' button.
6. Click 'Publish'.[nbsp][nbsp]You're done.
The same procedure can be used to cause FrontPage to ignore any other subdirectories you have in your /www subdirectory; for example any IRMs that are maintained separately.[nbsp][nbsp]In the case of IRMs, you could also make real subwebs on your hard drive, in which case you could might decide you want to 'Include subwebs' when you publish.
Note:[nbsp][nbsp]For the odd page on your web--like 404.html and robots.txt--it is easiest to import it into your web on your hard drive, to prevent FrontPage from offering to delete them.
Hope this helps. Mike
[This message has been edited by mshacter (edited 01-16-01@4:06 pm)]