PDA

View Full Version : Turn your Archive into a sitemap - Get better rankings


renemark
08-28-2011, 09:25 AM
AdminCP > vBulletin Options > Search Engine Friendly Archive. Click Yes and No in the two first radio buttons.

FTP to your forum root and edit /archive/index.php. Go line 391, replace this code:

$output .= "\t<li>$thread[prefix_plain_html] <a href=\"" . $vbulletin->options['bburl'] . '/archive/index.php' . (SLASH_METHOD ? '/' : '?') . "t-$thread[threadid].html" . ARCHIVE_SESSION_URL . "\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";

with this

$output .= "\t<li>$thread[prefix_plain_html] <a href=\"/" . "showthread.php?t=" . $thread[threadid] . "\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";

-------------

It's beyond my knowledge how a popular forum software in 2011 does not handle SEO correctly. If we look past more complicated problems like lots of duplicate content problems within the forum, it's even more strange how vBulletin actually made the old v3.8 archive worse when it comes to SEO.

This hack makes your archive a search engine friendly html sitemap. It passes Pagerank from your homepage to your subpages, which is very important. A XML-sitemap doesn't do that, and threads buried deep in your forums will never rank high as search engines like Google can't see any connection with the rest of your site.

Reycer
08-28-2011, 01:20 PM
Prolly should have posted this in Template Modifications ;)

BSMedia
08-28-2011, 05:31 PM
Its not a template though its a file edit.

Honestly, I'd disable the archives all together.

tonyolm
09-06-2011, 06:52 PM
So does the archive help with seo or not? Most of it just seems to be opinion whether it does or not..

Anyone do any testing?

Alfa1
09-06-2011, 07:57 PM
I disable archives as well. Absolutely dont need it.