• 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 3.x Series
    • Bug
    • htaccess Redirect Issue

    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: htaccess Redirect Issue

    • Issue Tools
      • View Changes
    1. issueid=1263 March 12, 2010 11:17 AM
      Mokonzi Mokonzi is offline
      Senior Member
      htaccess Redirect Issue
      htaccess Redirect Issue

      I'm getting a redirect problem whenever I try going directly from forumdisplay (or even the main forum.php page) to a new comment. The url I get (as an example) is like this:

      http://www.thexuniverse.com/threads/...ost#post180108

      But it ends up taking me to the default CMS home page.

      I've followed the htaccess setup, including using the tool to create the htaccess code, and I can only assume it's the htaccess that is the problem.

      Is it a bug, or a setup error on my part?
    Issue Details
    Issue Number 1263
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Infinite Loops
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 3.0.0 Beta 5
    Fixed Version 3.0.0 Beta 6
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 12, 2010 12:30 PM
      pegasus pegasus is offline
      VaultWiki Team
      This URL appears to be working now. Did you figure out what needed to be done?
      Reply Reply  
    2. March 12, 2010 12:42 PM
      Mokonzi Mokonzi is offline
      Senior Member
      No, not at all. Odd. It was the first post on a new article. Might it be that?
      Reply Reply  
    3. March 21, 2010 2:10 PM
      pegasus pegasus is offline
      VaultWiki Team
      I cannot duplicate this by clicking any link from forumdisplay. I can, however, duplicate it by manually entering a URL like:
      http://www.vaultwiki.org/demo/Articl...e-Test?p=10551

      This occurs when the article has no comments and the post ID corresponds to the ID of the wiki-post itself. In this case, the expected behavior is to 301 to the main article URL, but somehow we end up in a loop.
      Reply Reply  
    4. March 21, 2010 3:12 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current ZIP. In vBulletin 4, sometimes the page URL is not yet available when the canonical check is performed. This results in the page redirecting to NULL, which results in the same URL redirecting to itself.

      In vault/special_plugins.php, find:
      Code:
      			// similar to last redirect, occurs if bad request was made
      			// to showwiki - don't use post or thread ids in the url
      Add after:
      Code:
      			$vault->urlgenerate($threadinfo);
      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 2:17 AM.
    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.