vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Turn your Archive into a sitemap - Get better rankings (https://vborg.vbsupport.ru/showthread.php?t=269265)

renemark 08-28-2011 09:25 AM

Turn your Archive into a sitemap - Get better rankings
 
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:

PHP 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

PHP Code:

$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.


All times are GMT. The time now is 07:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01043 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete