• 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
    • htaccess reditrection rule to /wiki/

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

    Thread: htaccess reditrection rule to /wiki/

    • Thread Tools
      • Show Printable Version
    1. October 11, 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

      htaccess reditrection rule to /wiki/

      As my site moved from vb3 to xf there was a need for a htaccess 301 redirection from /forum/ to /forums/
      This seems to cause problems with VW as GWT lists many crawl errors for /forums/showwiki.php?title=x
      It seems to me that I need to address this in htaccess somehow by adding a rule to 301 redirect from
      /forum/showwiki.php?title=x
      to
      /wiki/x

      WOuld this work?
      If yes, could you advise a redirection?
      Reply With Quote Reply With Quote

    2. October 12, 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
      It depends how the rest of your rules are setup. In a basic sense, this would work:
      Code:
      RewriteBase /
      RewriteRule ^forum/showwiki\.php\?title=(.+) wiki/$1 [L,R=301]
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. October 12, 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
      Unfortunately that doesnt seem to work.

      THis form does work however:

      RewriteCond %{QUERY_STRING} b=(\d+)
      RewriteRule ^forum/blog.php$ /ams/%1? [L,R=301]

      Can something similar be done for showwiki?
      Reply With Quote Reply With Quote

    4. October 12, 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
      If you did that for showwiki, it would look like this:
      Code:
      RewriteCond %{QUERY_STRING} title=(.+)
      RewriteRule ^forum/showwiki.php$ /wiki/%1 [L,R=301]
      RewriteRule ^forum/showwiki.php$ /wiki/ [L,R=301]
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. .htaccess + vbseo
      By Mondi in forum VaultWiki Questions
      Replies: 1
      Last Post: April 27, 2010, 10:38 PM
    2. .htaccess issues
      By Kaelon in forum VaultWiki Questions
      Replies: 15
      Last Post: April 3, 2010, 4:11 PM
    3. .htaccess
      By diyaudio in forum VaultWiki Questions
      Replies: 2
      Last Post: February 18, 2010, 9:14 PM
    4. htaccess confusion
      By Badorties in forum VaultWiki Questions
      Replies: 18
      Last Post: September 3, 2009, 1:12 PM
    5. Still can't use .htaccess after upgtrade...
      By mickknutson in forum VaultWiki Questions
      Replies: 4
      Last Post: May 15, 2009, 12:18 PM

    Tags for this Thread

    htaccess, redirection

    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 6:48 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.