• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
      • Install/Upgrade
      • Admin Manual
      • User Manual
      • Style/Phrase Changes
      • Changelog
      • Security Issues
    • 
    • Wiki
    • Help
    • VaultWiki 3 Manual
    • Wiki and Forum in Separate Folders

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    • Page
    • View
      • Source Code
      • History of Edits
    • English (US)

    1. Help
    2. Wiki and Forum in Separate Folders

    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 .htaccess files.

    This is only practical if the setting "Simplify Wiki Links" (VaultWiki: Server Settings) is enabled. If it isn't, use the .htaccess instructions for Wiki Under the Forum Root.

    Step 1

    If you the setting "Wiki PHP File" is set to 'showwiki', you can skip this step. Otherwise, edit the .htaccess file in your forum root.

    If you have not already enabled mod_rewrite in the file, you can do so by adding the following line:
    Code:
    RewriteEngine On

    Add the following code:
    Code:
    RewriteBase /forums/

    RewriteRule ^FILE.php showwiki.php [L,QSA]

    Save the .htaccess file.

    Step 2

    Edit the .htaccess file in your document root.

    If you have not already enabled mod_rewrite in the file, you can do so by adding the following line:
    Code:
    RewriteEngine On

    Add the following code:
    Code:
    RewriteBase /


    Treat PATH as the directory path relative to your document root.
    In the case: http://www.example.com/forums/
    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]


    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]


    Save your .htaccess file, and your wiki URLs should work smoothly.

    This page has been seen 124,148 times.

      • Last updated by
        pegasus
        • View Public Profile
        • Show contributions to this page
        • Send a private message to pegasus
        • Visit pegasus's homepage!
        on August 21, 2009

    Users Browsing This Page (0 members, 1 guests)

    Search the Wiki

    Show results of these types:

    Share This Page

    Click a button below to activate it. Click again to share. Privacy Information Keep in mind that simply activating a button will reveal some of your browsing data with the selected third-party service in accordance with their own Terms of Service and/or Privacy Policy.
    Like0
    Link here from this web site
    Link here from the web
    Submit to Digg Digg
    Submit to del.icio.us del.icio.us
    Submit to StumbleUpon StumbleUpon
    Submit to Google Google

    Recent Activity

    Filters
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 4:43 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.
    "Wiki" powered by VaultWiki v4.1.9.