1. VW3
  2. Mod Rewrite Configuration
Printable Version

https://www.vaultwiki.org/pages/Book/Documentation/VW3:Mod-Rewrite-Configuration
This page is a chapter in VW3 Install Manual

This page has been seen 149,219 times.

    • Created by on
      Last updated by on
When installing VaultWiki for the first time, or if you have made changes recently to VaultWiki: Server Settings, you may need to update your server's Mod Rewrite configuration.

Visit VaultWiki > Initial Wiki Setup. In the section called "Mod Rewrite Generator," it asks "What type of rewrite does your server use?" Select the format your server uses. .htaccess is the most common and is selected by default, but your configuration might be different. If you're not sure what to do here, contact your server administrator.

vw-mod-generate.jpg
Important:If you discover that your server does not support Mod Rewrite, you will have to use the default values for the following "VaultWiki: Server Settings":
  • Wiki Base URL: (vBulletin Options (aka Settings) > vBulletin Options (aka Options) > Site Name / URL / Contact Details > Forum URL)
  • Wiki PHP File Name: showwiki
  • REQUEST Title Variable: title
  • Simplify Wiki Links: No

When you've selected the appropriate Mod Rewrite format, click the "Generate" button. Most setups will show 1 text box - this box shows the contents that must be added to your server's Mod Rewrite settings for the location specified.

vw-mod-generated.jpg
If you are using vBulletin 4 Mod Rewrite, this code should be added before the vBulletin 4 Rewrite code in your configuration.

Some setups will show more than 1 box. In this case, the contents of each box must be added for the corresponding locations. If both boxes actually point to the same directory on your server (like if http://wiki.site.com and http://forum.site.com both point to the main site.com directory), then ignore the first box.