Help Wiki and Forum in Separate Folders Viewing Source If you want wiki and your forum to appear in different folders (e.g. /forums/ and /wiki/), you will need to edit up to 2 [I].htaccess[/I] files. This is only practical if the setting "Simplify Wiki Links" ([HELP]VaultWiki: Server Settings[/HELP]) is enabled. If it isn't, use the [I].htaccess[/I] instructions for [HELP]Wiki Under the Forum Root[/HELP]. [h=3]Step 1[/h] If you the setting "Wiki PHP File" is set to 'showwiki', you can skip this step. Otherwise, edit the [I].htaccess[/I] file in your forum root. If you have not already enabled [I]mod_rewrite[/I] in the file, you can do so by adding the following line: [code]RewriteEngine On[/code] Add the following code: [code]RewriteBase /forums/ RewriteRule ^FILE.php showwiki.php [L,QSA][/code] Save the [I].htaccess[/I] file. [H="3"]Step 2[/H] Edit the [I].htaccess[/I] file in your document root. If you have not already enabled [I]mod_rewrite[/I] in the file, you can do so by adding the following line: [code]RewriteEngine On[/code] Add the following code: [code]RewriteBase /[/code] Treat PATH as the directory path relative to your document root. In the case: [url]http://www.example.com/forums/[/url] PATH is 'forums', with no leading or trailing slash. If the value of "Wiki PHP File" is not 'showwiki', add the following line: [code]RewriteRule ^PATH/FILE.php(.*)?$ PATH/showwiki.php$1 [L,QSA][/code] Add the following lines: [code]RewriteRule ^PATH/showwiki.php?VAR=(.*)$ FILE/$1 [/L,R=301] RewriteRule ^FILE/DEFAULT:(.*)$ FILE/$1 [L,R=301] RewriteRule ^FILE/(.*)?$ PATH/showwiki_proxy.php [L,QSA][/code] Save your [I].htaccess[/I] file, and your wiki URLs should work smoothly. 1,690 characters