PDA

View Full Version : Archive as sitemap with SEOed URLs (Fast 'n Easy)


turkerm
04-25-2006, 10:00 PM
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:
"t-$thread[threadid].html\">
Replace it with this one:
"../../thread$thread[threadid].html\">


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

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/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=114153)

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