• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • How Do I Clean Up My Wiki URL?

    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.

    Results 1 to 11 of 11

    Thread: How Do I Clean Up My Wiki URL?

    • Thread Tools
      • Show Printable Version
    1. July 21, 2009 #1
      void
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      void is offline
      Junior Member
      Join Date
      July 19, 2009
      Posts
      8
      Rep Power
      0

      Smile How Do I Clean Up My Wiki URL?

      I like how your URLs look for your wiki:

      http://www.vaultwiki.org/books/VaultWiki-Manual

      Right now Mine look like:

      website.com/forum/showwiki.php?title=title

      I want to remove the 'showwiki.php?title=' and have it coming out of a vault folder like you guys do. How do I do that?

      Thanks for everything! This is going so much smoother than my last attempt with vbpro and mediawiki.
      Reply With Quote Reply With Quote

    2. July 21, 2009 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Hi,

      In addition to the settings I am going to discuss, you will need to modify your .htaccess file to accomplish what you want. You can get some help with that from this article: Configuring .HTACCESS

      Now for the settings...

      You can change the URL format in AdminCP -> vBulletin Options -> vBulletin Options -> VaultWiki: Server Settings.

      Use the filename setting to set your "vault" or "wiki" folder name.
      Set "Simplify Wiki URLs" to yes.

      You can also make your URL: website.com/wiki/title
      instead of: website.com/forum/wiki/title
      by setting the Wiki Base URL to: website.com

      That should get you close. Keep in mind that the URLs you will get won't look exactly like they do here until the next patch is released (ETA July 25).
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. August 3, 2009 #3
      void
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      void is offline
      Junior Member
      Join Date
      July 19, 2009
      Posts
      8
      Rep Power
      0
      I'm still having trouble getting this to work right, and I just upgraded to the latest version.

      my htaccess file (located in my vb forum directory):
      Code:
      RewriteEngine On
      RewriteBase /
      RewriteRule ^wiki.php(.*)$ showwiki.php$1 [L,QSA]
      RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
      I've enabled simple urls and changed the filename setting from 'showwiki' to 'wiki'. When I goto website.com/forums/wiki/title , i get a 404.

      Can someone post their htaccess file as an example maybe? Or least point me in the right direction of what I'm doing wrong.
      Reply With Quote Reply With Quote

    4. August 3, 2009 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      You still need the rule to Rewrite wiki/ to showwiki_proxy.php. This is mentioned in the htaccess help page.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. August 4, 2009 #5
      void
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      void is offline
      Junior Member
      Join Date
      July 19, 2009
      Posts
      8
      Rep Power
      0
      OK so here's my current htaccesss:

      Code:
      RewriteEngine On
      RewriteBase /
      RewriteRule ^wiki.php(.*)$ showwiki.php$1 [L,QSA]
      RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
      RewriteRule ^wiki/Default:(.*)$ wiki/$1 [L,R=301]
      RewriteRule ^wiki/(.*)?$ showwiki_proxy.php [L,QSA]
      I went through my httpd.conf to make sure rewrite was enabled.

      'LoadModule rewrite_module modules/mod_rewrite.so' is uncommented
      and
      I changed AllowOverride to all

      Code:
      <Directory />
      Options FollowSymLinks
      AllowOverride All
      </Directory>
      I've enabled simple urls and changed the filename setting from 'showwiki' to 'wiki'.

      still getting 404s when I goto website.com/forums/wiki/title

      Thanks in advance!
      Reply With Quote Reply With Quote

    6. August 4, 2009 #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Try:
      Code:
      RewriteBase /forums/
      If this doesn't work I would recommend moving the rules to the domain root.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    7. August 4, 2009 #7
      void
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      void is offline
      Junior Member
      Join Date
      July 19, 2009
      Posts
      8
      Rep Power
      0
      Hey that did it! Thanks a lot!

      Much appreciated!
      Reply With Quote Reply With Quote

    8. August 21, 2009 #8
      Badorties
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Badorties is offline
      New Member
      Join Date
      August 10, 2009
      Posts
      4
      Rep Power
      0
      Hi i'm having a similar problem so i hope you dont mind me posting to the same thread.

      I would like my wiki to display at website.com/wiki/article . Presently i have vb installed at website.com/boards/ . was wondering how exactly to make this happen?

      In my vaultwiki server settings i have the following options:

      Base url: http://webiste.com
      filename of the wiki php: wiki
      simplify wiki links: enabled

      in my forum base, my htaccess is:
      Code:
      RewriteEngine On
      RewriteBase /
      RewriteRule ^wiki.php(.*)$ showwiki.php$1 [L,QSA]
      RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
      RewriteRule ^wiki/Default:(.*)$ wiki/$1 [L,R=301]
      RewriteRule ^wiki/(.*)?$ showwiki_proxy.php [L,QSA]
      I attempted following the Configuring htaccess from the manual but it was slightly confusing. Is Case #1 from that guide inferring that the wiki is physically installed in /wiki/ ?
      Reply With Quote Reply With Quote

    9. August 21, 2009 #9
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Your .htaccess is correct if you want your wiki at /boards/wiki/ (which your server settings don't reflect).

      VaultWiki must always be physically installed in the forum root. Case #1 suggests that you want your URLs to imply that it's installed in /wiki/ - not /boards/wiki/

      Use the instructions on the 1st chapter of Configuring .htaccess to accomplish Case 1 (Wiki and Forum in Separate Folders). As discussed there, you need 2 .htaccess files to get this working.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    10. September 4, 2009 #10
      optikalefx
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      optikalefx is offline
      Junior Member
      Join Date
      August 12, 2009
      Posts
      11
      Rep Power
      0
      So even though simplify URLs is on, and all the URLs look great, they won't work until you do htaccess changes? Thats where I am, I have simplify URL's on and they look good, but they all return a 404 error page. I did rebuild the URLs but i guess I need htaccess changes to make this work?
      Reply With Quote Reply With Quote

    11. September 6, 2009 #11
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      That's correct. When the option is on, VaultWiki knows to make links in that format, but your server won't know what to do with them unless you make .htaccess changes.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Tags for this Thread

    admincp, all, also, base, but, can, case, changed, changes, clean, com, correct, did, does, doing, don, enabled, eta, every, example, filename, files, for, format, from, get, getting, going, have, having, help, here, how, http, keep, last, like, look, must, need, next, now, out, php, point, proxy, rewrite, right, same, server settings, should, showwiki, some, someone, sure, that, the, their, them, there, this, try, url, was, what, when, where, wiki, wiki base url, will, with, would, www, you, your

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:32 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.