• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • showwiki.php links fail

    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.

    Issue: showwiki.php links fail

    • Issue Tools
      • View Changes
    1. issueid=5232 September 15, 2017 1:06 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      showwiki.php links fail

      Im not sure why this is not working:
      /wiki/Questions_and_Answers
      has this link:
      /forum/showwiki.php?title=Donating
      I don't know why it was not converted during import.
      Surely this should redirect to:
      /wiki/Donating

      But it doesn't. Is this something that I need to set somewhere? Or is this a bug?
    Issue Details
    Issue Number 5232
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category URLs / Routing
    Status Working as Designed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.19
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 15, 2017 2:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      The link in question uses the URL BB-Code, which takes a static URL and is not a wiki BB-Code. Only wiki links inside actual wiki tags are converted.

      showwiki.php is also a completely valid entry point under VaultWiki 4, so there is not a reason to convert it. In fact if you stayed on vBulletin, you could set the wiki route option to 'showwiki' and be done with it. However, in XenForo the only valid entry point for anything (forums, threads, profiles, etc) is index.php.

      If you need to forward showwiki.php URLs to XenForo, you should setup the appropriate .htaccess rules and/or use the redirect script provided in the do_not_upload section of the ZIP.
      Reply Reply  
    2. September 15, 2017 4:58 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I need to forward showwiki urls to the correct Vaultwiki url. Is this possible?
      Reply Reply  
    3. September 16, 2017 10:20 AM
      pegasus pegasus is offline
      VaultWiki Team
      Have you tried the redirect script? It is supposed to do this. There is a redirect scripts folder in the do_not_upload directory of the ZIP.
      Reply Reply  
    4. September 16, 2017 12:03 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I have placed the showwiki.php redirection script in /forum/
      However, it doesn't work at this time.
      On this page: /wiki/Questions_and_Answers
      There is a link to: /forum/showwiki.php?title=Donating
      Which no longer shows a 404 but now shows a blank screen.
      It should redirect to: /wiki/Donating

      Maybe I am wrong but it seems to me that this type of URL could be rewritten relatively easy?
      From: /forum/showwiki.php?title=X
      To: /wiki/X

      So that no redirection is needed for those links within VW articles. I have do this for forum content with a replacement query:
      Code:
      UPDATE xf_post SET message = REPLACE(message, '/forum/showwiki.php?title=', '/wiki/');
      Is the same not possible for VW?

      This would not remove the needed for a working redirect, but it would fix a lot of URLs.
      Reply Reply  
    5. September 16, 2017 12:50 PM
      pegasus pegasus is offline
      VaultWiki Team
      Added support for 301config.php to the redirect scripts, so they can work when the redirects are from a different directory than the XenForo installation. This is labeled as a new feature of the scripts for the next release. You will notice that your test links are now redirecting correctly.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 6:40 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.