• 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 Discussion
    • General Discussion
    • Help with custom rewrites on faq.php like showwiki.php

    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 5 of 5

    Thread: Help with custom rewrites on faq.php like showwiki.php

    • Thread Tools
      • Show Printable Version
    1. December 27, 2012 #1
      Kaelon
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Kaelon is offline
      Regular Member
      Join Date
      June 17, 2008
      Posts
      116
      Rep Power
      228

      Help with custom rewrites on faq.php like showwiki.php

      Hi Pegasus, and Everyone!

      I love VaultWiki's handling of the rewrites to turn /forums/showwiki.php?etc... into /wiki/ArticleName -- and I wanted to try and accomplish the same with vBulletin 3.8.x's built-in FAQ.php -- which currently resides at /forums/faq.php into /faq/faqname. What sort of rewrite rules should I be looking at?

      I've tried permutations, at my /.htaccess (root), of:

      Code:
      RewriteRule ^forums/faq.php?faq=(.*)$ faq/$1 [L,R=301]
      RewriteRule ^faq$ faq/ [L,QSA,R=301]
      With:

      Code:
      RewriteRule ^faq/(.*)?$ forums/faq.php?faq=$1 [L,QSA]
      But when I go to /faq/name, I get an "Invalid Forum Specified" vBulletin message. Any thoughts on what I might be doing wrong and how I might get this there?

      Thanks so much!
      Reply With Quote Reply With Quote

    2. December 27, 2012 #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,959
      Blog Entries
      18
      Rep Power
      688
      If you're getting the invalid forum specified message, you are clashing with vBSEO. This is a design issue with vBSEO that I pointed out to them some years ago (and provided a fix) but they never made any change to it. There should be a RewriteCond above the vBSEO rules - you will have to add the /faq/ folder to the exclusion.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. December 27, 2012 #3
      Kaelon
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Kaelon is offline
      Regular Member
      Join Date
      June 17, 2008
      Posts
      116
      Rep Power
      228
      Quote Originally Posted by pegasus View Post
      If you're getting the invalid forum specified message, you are clashing with vBSEO. This is a design issue with vBSEO that I pointed out to them some years ago (and provided a fix) but they never made any change to it. There should be a RewriteCond above the vBSEO rules - you will have to add the /faq/ folder to the exclusion.
      Thanks so much, Pegasus. Can you please give me an example of what this exclusion looks like, and in which .htaccess it should be? I had a feeling it might be a vBSEO issue.
      Reply With Quote Reply With Quote

    4. December 28, 2012 #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,959
      Blog Entries
      18
      Rep Power
      688
      I don't have a copy of the .htaccess on hand right now (we use nginx which has a different rewrite syntax). There should be a RewriteCond that excludes a number of folders including admincp, modcp, clientscript, and others directly before a RewriteRule with vbseo.php as its target. You want to add the faq/ folder to this exclusion.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. December 29, 2012 #5
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      285
      This may be off topic, but why not use Vaultwiki instead of the FAQ? This way your community can create a very extensive FAQ that explains all functionality. vbulletin's FAQ is extremely limited.
      Reply With Quote Reply With Quote

    Similar Threads

    1. showwiki.php?title=Special:Categories lists no categories
      By Alfa1 in forum VaultWiki Questions
      Replies: 8
      Last Post: December 8, 2010, 9:26 AM
    2. Notice in showwiki.php ?!
      By sKippah in forum VaultWiki Questions
      Replies: 1
      Last Post: November 20, 2010, 4:32 PM
    3. Custom CSS
      By hollosch in forum VaultWiki Questions
      Replies: 8
      Last Post: May 17, 2010, 2:07 PM
    4. SEO description for the showwiki.php page
      By bigtree in forum General Discussion
      Replies: 2
      Last Post: April 7, 2010, 7:02 PM
    5. How to know we are inside showwiki.php?
      By ILTK in forum VaultWiki Questions
      Replies: 2
      Last Post: September 1, 2008, 6:35 AM

    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 1:59 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.