• 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 + vbseo

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

    Thread: .htaccess + vbseo

    • Thread Tools
      • Show Printable Version
    1. April 26, 2010 #1
      Mondi
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Mondi is offline
      Junior Member
      Join Date
      February 16, 2010
      Posts
      29
      Rep Power
      199

      .htaccess + vbseo

      Pegasus,

      Currently running vbseo 3-5-0 RC3 - just upgraded, in fact.

      In uploading the new .htaccess file [but preserving the one you installed for me] I noticed that links to Wiki fail to work. Internal Wiki links produce errors [links cannot be found]

      I rewrote the .htaccess file to combine the standard vbseo .htaccess and yours, which produced the following file contents:
      Code:
      # Comment the following line (add '#' at the beginning)
      # to disable mod_rewrite functions.
      # Please note: you still need to disable the hack in
      # the vBSEO control panel to stop url rewrites.
      RewriteEngine On
      
      # Some servers require the Rewritebase directive to be
      # enabled (remove '#' at the beginning to activate)
      # Please note: when enabled, you must include the path
      # to your root vB folder (i.e. RewriteBase /forums/)
      #RewriteBase /
      
      #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
      #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
      
      RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
      
      RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
      RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
      
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
      RewriteRule ^(.+)$ vbseo.php [L,QSA]
      
      RewriteCond %{REQUEST_FILENAME} -s [OR]
      RewriteCond %{REQUEST_FILENAME} -l [OR]
      RewriteCond %{REQUEST_FILENAME} -d
      
      RewriteRule ^.*$ - [NC,L]
      
      RewriteRule ^threads/.* showthread.php [QSA]
      RewriteRule ^forums/.* forumdisplay.php [QSA]
      RewriteRule ^members/.* member.php [QSA]
      RewriteRule ^blogs/.* blog.php [QSA]
      RewriteRule ^entries/.* entry.php [QSA]
      
      RewriteRule ^wiki.php$ showwiki.php [L,QSA]
      RewriteRule ^wiki.php?title=(.*)$ wiki/$1 [L,R=301]
      RewriteRule ^wiki/Default:(.*)$ wiki/$1 [L,R=301]
      
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^wiki/(.*)?$ showwiki_proxy.php [L,QSA]
      
      RewriteCond %{REQUEST_FILENAME} -s [OR]
      RewriteCond %{REQUEST_FILENAME} -l [OR]
      RewriteCond %{REQUEST_FILENAME} -d
      
      RewriteRule ^.*$ - [NC,L]
      
      RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
      The site still isn't happy with this.

      Any idea on why this isn't working?

      Cheers!
      Reply With Quote Reply With Quote

    2. April 27, 2010 #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
      The wiki rules have to be added BEFORE the vbSEO rules.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. vBseo + htaccess check
      By beduino in forum VaultWiki Questions
      Replies: 2
      Last Post: July 24, 2010, 12:15 PM
    2. htaccess and the CMS Suite?
      By Webbstre in forum VaultWiki Questions
      Replies: 1
      Last Post: March 10, 2010, 9:45 AM
    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

    admincp, archive, contents, errors, file, filename, forumdisplay, forums, line, members, pegasus, proxy, remove, request, rewrite, showthread, title

    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 2:06 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.