• 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
    • Underscore does not redirect to minus.

    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: Underscore does not redirect to minus.

    • Issue Tools
      • View Changes
    1. issueid=5468 September 2, 2018 10:13 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Underscore does not redirect to minus.

      Im not sure if this is a bug or a feature request.

      See my site:
      This is a VW3 url: /wiki/restless-legs-syndrome
      Here is the VW4 url: /wiki/Restless_Legs_Syndrome
      This does not redirect. Therefore Google reports old links to the wiki page as dead links.
    Issue Details
    Issue Number 5468
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Search Engine Optimization
    Status Working as Designed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.23
    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 2, 2018 11:23 AM
      pegasus pegasus is offline
      VaultWiki Team
      Minus is a valid character in the underscore format, so you will need to create a synonym if you need both forms. We do not recommend changing your space-replacement after your wiki is established for this reason.

      As a feature request, it may or may not be possible to fallback if the content is missing. I will look into this. It would definitely not be possible if the valid VW4 target is Restless-Legs_Syndrome
      Reply Reply  
    2. September 2, 2018 12:50 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Google reports pretty much all wiki articles with spaces in the name, as these have links to it with minus instead of underscore.
      A fallback would be really useful.
      Reply Reply  
    3. September 4, 2018 11:32 AM
      pegasus pegasus is offline
      VaultWiki Team
      In the next release, the following has been implemented. For the examples below, assume _ has been selected by the admin as the wiki's URL spacing character.

      If the requested URL is as follows:
      Restless-Legs-Syndrome
      Restless-Legs_Syndrome

      If it does not exist but Restless_Legs_Syndrome exists, the user will be redirected to Restless_Legs_Syndrome.

      This change applies to full paths to wiki pages:
      /wiki/Area-Name/Sub-Area_Name/Prefix-for_Pages:Restless-Legs_Syndrome

      Would likewise redirect to
      /wiki/Area_Name/Sub_Area_Name/Prefix_for_Pages:Restless_Legs_Syndrome
      If the former does not exist but the latter does.

      This is a forward redirection to the current spacing character. It does not work backwards. If the requested URL is Restless_Legs_Syndrome but the actual article is Restless-Legs-Syndrome, this would not work (unless - is the wiki's URL spacing character).
      Reply Reply  
    4. September 4, 2018 11:54 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks!
      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:45 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.