vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Archive as sitemap with SEOed URLs (Fast 'n Easy) (https://vborg.vbsupport.ru/showthread.php?t=114153)

turkerm 04-25-2006 10:00 PM

Archive as sitemap with SEOed URLs (Fast 'n Easy)
 
With this very simple hack (It's simple because there are only 2 minor code changes)

You can:
  • Make the archive pages redirect to the original thread, which is very good for search engines
  • Make your URLs SEOed in HTML format without making big modifications, so that the spiders can easily crawl your pages

ADVANTAGES

+ The bots will crawl more pages, more easily, more efficiently, as your URLs will be SEOed thus being easily spiderable .

And it may effect your rankings in the results positively.

+ Your visitors coming from search engines will not see the low-quality archive pages. They will see the real pages.


INSTALLATION

1) Edit your /archive/index.php as explained:

Find this code:
Code:

"t-$thread[threadid].html\">
Replace it with this one:
Code:

"../../thread$thread[threadid].html\">

2) In your Forum's directory find the .htaccess file and add the following lines:
Code:

RewriteEngine on
RewriteRule ^thread([0-9]+).html$        showthread.php?t=$1        [L]

THAT'S ALL!

***

Known incapabilities:

* As it's a fast and easy hack, These SEOed URLs don't include other pages of your threads Only first pages are SEOed. If you want it to include, you can find the required hack here: http://www.daniweb.com/techtalkforums/thread35147.html

* Google may see your non html and html threads, which will index, as duplicate content, which you can solve by installing the hack I mentioned above.

***
If you like it and find helpful, don't forget to click https://vborg.vbsupport.ru/

LIVE DEMO is here (with the hack I mentioned) : http://www.yaziyaz.com/forum/archive/index.php

Enjoy!

Snake 04-26-2006 08:40 PM

Looking good so far. :)

Barakat 04-27-2006 01:15 AM

installed and working good

Atakan KOC 04-27-2006 05:12 AM

Thanks turkerm...

Çok iyi. Tebrikler arkadaşım. Başarılar.

viyanali 04-27-2006 11:46 AM

thxx:)

BeaLzeBuB 04-29-2006 08:10 PM

teşekkürler güzel fikir

bu sayede google spider ı linkleri tanımlayabielcek mi diyorsun ?

turkerm 04-30-2006 08:23 AM

Thanks all supporting this hack.

Herkese ?ok teşekk?r ederim arkadaşlar.
Quote:

Originally Posted by BeaLzeBuB
teşekk?rler g?zel fikir

bu sayede google spider ı linkleri tanımlayabielcek mi diyorsun ?

En: Yes, as you said, google will index you more easily and efficiently.

Tr: Evet arkadaşım, aynen ?yle. Karmaşık linkler olmadığından daha kolay indexleyebilecek ;)

Calibre_k 09-28-2006 12:26 AM

Will it work with Vbulletin 3.6.0?

turkerm 09-28-2006 07:25 AM

Quote:

Originally Posted by Calibre_k
Will it work with Vbulletin 3.6.0?

Yes, it works!

There is no need to change anything in this modification.

Calibre_k 09-28-2006 11:19 PM

Cant you make this into a plugin?

I dont understand where to find the codes to change.

turkerm 09-29-2006 07:33 AM

Quote:

Originally Posted by Calibre_k
Cant you make this into a plugin?

I dont understand where to find the codes to change.

Actually, I don't know how to create a plugin. Maybe later.

Thanks for your interest, though.


All times are GMT. The time now is 05:49 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.01015 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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