The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Vbulletin Sitemap Actually Conflicts With Canonical Urls Preventing Proper Indexing
Is there a way to fix the vbulletin sitemap so that it returns the value of the Canonical Url? There is a thread on vBulletin.com which talks about vBulletin's SEO. It's actually against the grain as far as google webmaster tools is concerned.
For those that use htaccess to rewrite anything other than the default URL listings Vbulletin will make a sitemap contrary to the canonical URL resulting in a looping override of the canonical URL. The sitemap will say "these urls exist" and Google sees them as a preference. It will then send a robot to verify the page exist resulting in exposure to the canonical url. this cause google to drop references to the canonical URL as soon as the next sitemap is submitted. That is nightly for me. The problem lies in /includes/class_sitemap.php. Here is a word from Google expressingly stating not to do what vB functionality currently does: https://support.google.com/webmaster...r/139066?hl=en Quote:
FYI i'm asking if there is a preexisting canonical reference other than using 'bburl'? I'm trying to edit code on line 797 of includes/class_sitemap.php to get vbulletin to pull the url rewrites we use as the url for the sitemap to write. We've got tens of thousands of linkbacks preexisting from the site being 7 years old. The rewrites we used were custom and vbulletin doesn't have an option that displays them that way. The canonical urls are already rewritten to reflect what our url rewrites in htacess are. If I can get this to work then we will not have anymore problems with Google Webmaster tools. If you know of w way please let me know: Code:
$content .= "\n\t" . '<loc>' . htmlspecialchars_uni($this->registry->options['bburl'] . '/xmlsitemap.php?fn=' . urlencode($sitemap['loc'])) . '</loc>'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|