• 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
    • vB Sitemap has Double URL Path

    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: vB Sitemap has Double URL Path

    • Issue Tools
      • View Comments
    1. issueid=1701 June 17, 2010 1:13 PM
      pegasus pegasus is offline
      VaultWiki Team
      vB Sitemap has Double URL Path

      When using vBulletin 4's default Sitemap generator, wiki URLs appear similar to the following:

      http://www.vaultwiki.org/http://www.vaultwiki.org/demo/

      Unfortunately due to the lack of hooks in the sitemap class, it's impossible to fix this for every URL configuration (i.e. when the Wiki Base URL doesn't match the Forum URL) without performing the content-type rewrite. I would advise users with different Base URLs that are not descended from the Forum URL to use the vBSEO Sitemap and download the VaultWiki integration for that from this site.

      Otherwise, more standard and non-friendly wiki URLs will be fixed in the next build. In vault/class/friendlyurl.php, find:
      Code:
      		return $url . ($query ? $amp . $query : '');
      Add before:
      Code:
      		if (
      			(
      				THIS_SCRIPT == 'cron' OR
      				(
      					VB_AREA == 'AdminCP' AND
      					strpos($_SERVER['PHP_SELF'], 'sitemap.php') !== false
      				)
      			) AND
      			$GLOBALS['runner'] AND
      			is_subclass_of($GLOBALS['runner'], 'vB_SiteMapRunner')
      		)
      		{
      			if (strpos($url, $this->registry->options['bburl']) !== false)
      			{
      				$url = str_replace($this->registry->options['bburl'] . '/', '', $url);
      			}
      			else
      			{
      				$thirdpos = strpos($url, '/', 9);
      				$url = substr($url, $thirdpos + 1);
      			}
      		}
    Issue Details
    Issue Number 1701
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Search Engine Optimization
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.0
    Fixed Version 3.0.1
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 26, 2011 10:02 PM
      Issue Changed by Claw Snuff
      • Priority changed from 2 - Fatal / Database Errors to 4 - Warnings / Script Errors
    + 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 11:03 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.