none
[openafs-wiki.git] / TWiki / ManagingWebs.mdwn
1 <div>
2   <ul>
3     <li><a href="#Add, Name, or Delete Webs"> Add, Name, or Delete Webs</a><ul>
4         <li><a href="#How to Add a New Web"> How to Add a New Web</a></li>
5         <li><a href="#How to Rename or Delete a Web"> How to Rename or Delete a Web</a></li>
6       </ul>
7     </li>
8   </ul>
9 </div>
10
11 ## <a name="Add, Name, or Delete Webs"></a> Add, Name, or Delete Webs
12
13 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. Before making changes to a web, you can move individual topics through your browser (see [[ModifyTopics|TWiki/RenameTopic]]). No similar web controls are available through the browser interface.
14
15 ### <a name="How to Add a New Web"></a> How to Add a New Web
16
17 - See [[TWiki Installation Notes|Main/TWikiDocumentation#TWiki_Installation_Notes]]
18
19 ### <a name="How to Rename or Delete a Web"></a> How to Rename or Delete a Web
20
21 - **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.)
22
23 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.
24 2. **Edit the [[TWikiPreferences]] topic:** Rename or delete the web from the `WIKIWEBLIST` variable.
25 3. **Edit the [[TWikiWebsTable]] topic:** Rename or delete the web from the table.
26 4. **Connect to the %WIKITOOLNAME% server:** Login via Telnet or FTP.
27 5. **Edit the data files:** Go to <code>**twiki/data**</code> and rename or delete the web directory.
28 6. **Edit the template files:** Go to <code>**twiki/templates**</code> and rename or delete the web directory if present.
29 7. **Edit the public files:** Go to <code>**twiki/pub**</code> and rename or delete the web directory if present.
30
31 -- [[MikeMannix]] - 29 Aug 2001 <br />