summaryrefslogtreecommitdiff
path: root/TWiki/ManagingWebs.mdwn
blob: 32fc59686f42afb5eba6e1eb875c94385b568aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%TOC% %STARTINCLUDE%

## <a name="Modifying_Webs"> Modifying Webs </a>

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 [[TWiki/RenameTopic]]). No similar web controls are available through the browser interface.

### <a name="How_to_Add_a_New_Web"> How to Add a New Web </a>

* See [[TWikiDocumentation]]

### <a name="How_to_Rename_or_Delete_a_Web"> How to Rename or Delete a Web </a>

* **NOTE:** Think twice if you intend to rename the %WIKITOOLNAME%.%MAINWEB% 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.)

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.
2. **Edit the %WIKIPREFSTOPIC% topic:** Rename or delete the web from the `WIKIWEBLIST` variable.
3. **Edit the [[TWikiWebsTable]] topic:** Rename or delete the web from the table.
4. **Connect to the %WIKITOOLNAME% server:** Login via Telnet or FTP.
5. **Edit the data files:** Go to <code>**twiki/data**</code> and rename or delete the web directory.
6. **Edit the template files:** Go to <code>**twiki/templates**</code> and rename or delete the web directory if present.
7. **Edit the public files:** Go to <code>**twiki/pub**</code> and rename or delete the web directory if present.

-- [[MikeMannix]] - 29 Aug 2001 <br />