none
[openafs-wiki.git] / TWiki / ManagingWebs.mdwn
1 <div>
2   <ul>
3     <li><a href="#Managing Webs"> Managing Webs</a><ul>
4         <li><a href="#Overview"> Overview</a></li>
5         <li><a href="#How to Add a New Web"> How to Add a New Web</a></li>
6         <li><a href="#How to Rename or Delete a Web"> How to Rename or Delete a Web</a></li>
7       </ul>
8     </li>
9   </ul>
10 </div>
11
12 ## <a name="Managing Webs"></a> Managing Webs
13
14 Adding, renaming and deleting webs is done directly on the server
15
16 ### <a name="Overview"></a> Overview
17
18 To work with entire TWiki webs, you need direct access to the installation files on the host server. Connecting by Telnet or FTP is the usual approach. There are no browser-based web management tools. You can prepare a web for changes through browser-based individual topics by browser (see [[ModifyTopics|TWiki/ManagingTopics]]).
19
20 ### <a name="How to Add a New Web"></a> How to Add a New Web
21
22 - See [[TWiki Installation Notes|Main/TWikiDocumentation#TWiki_Installation_Notes]]
23
24 ### <a name="How to Rename or Delete a Web"></a> How to Rename or Delete a Web
25
26 - **NOTE:** Think twice if you intend to rename the %WIKITOOLNAME%.Main web, since many files point to it. If you do rename it, you'll also have to change all occurrences of `Main` to the new web name - this includes, for example, the user signatures across your entire TWiki site. (On the other hand, if the variable <code>**%MAINWEB%**</code> is used throughout, you have no problem.)
27
28 1. **Prepare your site:** Other webs may link to the web you want to rename or delete. Search each web for links to the target web: search all webs for `Abouttochange.` - include the period to find topics like `Abouttochange.SomeTopic`. Make changes as required.
29 2. **Edit the [[TWikiPreferences]] topic:** Rename or delete the web from the `WIKIWEBLIST` variable.
30 3. **Edit the [[TWikiWebsTable]] topic:** Rename or delete the web from the table.
31 4. **Connect to the %WIKITOOLNAME% server:** Login via Telnet or FTP.
32 5. **Edit the data files:** Go to <code>**twiki/data**</code> and rename or delete the web directory.
33 6. **Edit the template files:** Go to <code>**twiki/templates**</code> and rename or delete the web directory if present.
34 7. **Edit the public files:** Go to <code>**twiki/pub**</code> and rename or delete the web directory if present.
35
36 -- [[MikeMannix]] - 29 Aug 2001 <br />