• 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 get a wiki link to redirect to category?

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

    Thread: How do I get a wiki link to redirect to category?

    • Thread Tools
      • Show Printable Version
    1. September 20, 2017 #1
      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

      How do I get a wiki link to redirect to category?

      Lets say I have a category 'People'
      And I want to make sure that all mentions of the word 'People' will redirect to this category. How do I do this?
      Reply With Quote Reply With Quote

    2. September 20, 2017 #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 the category's name is exactly "People" with no prefix, then a link to "People" should resolve to the category, no redirect required.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. September 20, 2017 #3
      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
      Shouldn't all categories have the category prefix?
      If not then what's the purpose of this prefix?
      Reply With Quote Reply With Quote

    4. September 21, 2017 #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
      Prefixes are arbitrary. The category may or may not have the prefix "Category" as part of its title. In VaultWiki 4, the behavior / "treat this page as" is not tied to a specific prefix like in VaultWiki 3. In VaultWiki 4, there is more flexibility. In VaultWiki 4, prefixes are for naming purposes only.

      VaultWiki 4 only comes with one prefix, the Special prefix, which you can rename, or not use at all (you can rename Special pages nowadays).

      Most categories that were imported from VaultWiki 3 would have been imported with a prefix though. That prefix is most likely whatever the name of your Category namespace was in VaultWiki 3 (still arbitrary, since the VaultWiki 3 installer did not create this namespace automatically). But again, this imported prefix only has a naming purpose now. It is not what makes a "Category:" a category.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. September 21, 2017 #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
      Thanks for explaining. This is very helpful.
      In VW3 we had it set up like this:
      Category:People - to make the page a category.
      In our Redirects area: People (page with redirect to Category:People) - To make autolinks work.

      Now after VW3 to VW4 import the redirects have not become synonyms of the category pages. The wiki redirects forum has about 70 redirects to categories. For some reason the redirect code is gone from these.

      It seems to me that the best approach is to:
      1. Delete these 70 redirects from the redirects area.
      2. Then remove the Category prefix from 219 pages.

      Am I approaching this correctly?
      is there anything I need to be mindful of?
      is there a way to do this quickly?
      Reply With Quote Reply With Quote

    6. September 21, 2017 #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,959
      Blog Entries
      18
      Rep Power
      688
      I have reviewed your Wiki Redirects area and it looks like redirects that used the REDIRECT code were imported as synonyms as expected.

      However, the following entries were not imported as synonyms:
      - NuWiki-syntax redirects if the source legacy-code mode was not set to NuWiki
      - MediaWiki-syntax redirects if the source legacy-code mode was not set to MediaWiki
      - entries in that area that did not use the REDIRECT code, but which used only the CATEGORY code (presumably as a link) were imported as regular pages. The CATEGORY code was correctly imported by placing the page into the specified category.

      In general, it looks like that Wiki Redirects part of your site needed maintenance. Your approach of deleting the 70 redirects, then removing the Category prefix from pages is a solution that could work. However, at this time, there is no mass-rename function (but it has been requested already). The current fastest way, modifying the vw_revision table and setting prefixid = 0 where prefixid = CATEGORY_PREFIX_ID, would not give you 301s to the unprefixed categories (although you can easily do this via .htaccess), and it may result in additional URL Conflicts. If you go that route, you will need to rebuild your URLs in the Maintenance > Rebuild Counters page, and you will need to manage your duplicates on the URL Conflicts page.

      You might do well to visit the URL Conflicts page before you do any of this, and manage the entries that are already listed (make sure to check each prefix). After doing this, you will be able to check each page in Wiki Redirects with confidence, because it's possible they are not all old redirects.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    7. September 21, 2017 #7
      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
      Thanks for looking into it. That clarified a lot.
      I have now removed all redirect pages and the redirect area. I also removed the wiki pages area because it seems cleaner that way.
      Is it possible to remove the 'category' prefix manually from a page?
      Reply With Quote Reply With Quote

    8. September 22, 2017 #8
      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
      Yes, assuming the area allows a choice of various prefixes, when editing the page, there will be a prefix drop-down next to the title.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. 301 redirect when clicking on the wiki link in the navigation bar
      By edrsvc in forum VaultWiki Questions
      Replies: 1
      Last Post: August 27, 2016, 5:03 PM
    2. Hide wiki link in menu for guests and users. Only for mods and admins till wiki is filled
      By domenico in forum VaultWiki Questions
      Replies: 2
      Last Post: March 12, 2013, 12:39 PM
    3. [Miscellaneous Hacks] Newest Wiki pages link, in Forumhome, and in Wiki front page
      By basketmen in forum vBulletin 3.x Addons
      Replies: 5
      Last Post: July 27, 2011, 4:45 AM
    4. Wiki code for no auto-link
      By Moses in forum VaultWiki Questions
      Replies: 5
      Last Post: October 27, 2010, 12:55 AM
    5. [New Posting Features] Forum to wiki link
      By Jella in forum vBulletin 3.x Addons
      Replies: 2
      Last Post: July 18, 2009, 11:40 PM

    Tags for this Thread

    category, redirect

    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:16 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.