The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
For vB 2.0
This little hackette is a quick fix to allow search engine bots to spider your threads. Although this will allow the bots to index every thread on your site, it will not make the threads 'search engine optimized'. They will see exactly what you see when you visit your site. It simply removes the CGI bits from the URL's which prevents most search engine bots from spidering more than one level deep. If you want a hack that allows to fully customize how the thread will look to the search engine bot, you should look at Overgrows more complete hack here. The advantage of this hack over Overgrows is that it does not require htaccess support which can have performance issues. This could also be seen as a disadvantage though as my hack requires that you have mod_rewrite enabled on your Apache Server, whereas Overgrows method should work with just about any web host out there. Take yer pick Show Your Support
|
Comments |
#32
|
||||
|
||||
Quote:
|
#33
|
|||
|
|||
Quote:
I seem to remember that when I first implemented this it seemed slower to load. That's what prompted me to check with leknor.com. I hope I can fix this. non-gzipped pages are not acceptable |
#34
|
||||
|
||||
Quote:
i loaded the shorter url page right click page properties then loaded the real url and right click page properties and compared the 2 sizes shorter url was 129kb and real url was 19kb but both reported as 19kb when tested at leknor |
#35
|
||||
|
||||
oh yeah another thing i;m using the Zend cache trial so with html pages they won't be cached right ?
|
#36
|
|||
|
|||
Quote:
When I do that on threads I get 81K for the short ones and not available for on the originals. And for the forumhome I get 56K with the short url and 58K with the long url. |
#37
|
|||
|
|||
Quote:
I'm just guessing though, I don't really know. |
#38
|
||||
|
||||
Quote:
|
#39
|
|||
|
|||
Just to be double sure I enabled gzip logging in my Apache logs. You'll be pleased to know that it all works and everything is compressed as usual All the exclude and include filters work aswell, based on the original urls).
|
#40
|
|||
|
|||
Someone alerted me to a Netscape problem when using this hack.
I seems that Netscape ignores the < BASE > tag. Subsequently, any urls that do not start with a slash or a fully qualified domain will fail. The solution is to go through all the showthread, forumhome and forumdisplay templates and prefix all relative HREF's with the $ bburl variable. This means the hack isn't quite so 'quick and easy' after all If someone knows why Netscape is doing this please let us know. |
#41
|
||||
|
||||
Quote:
|
#42
|
||||
|
||||
woah i had to edit nearly all of my templates
first important one do a search template for the forum action part Quote:
Quote:
only images i couldn't find the link to edit to add $bburl/ to are Quote:
Quote:
|
#43
|
|||
|
|||
I also had a problem with the bbcode smilies not showing up. I had to edit functions.php and add a slah before the href in this line:
Code:
$bbcode=str_replace(trim($smilie[smilietext]),"<img src=\"/$smilie[smiliepath]\" border=\"0\" alt=\"\">",$bbcode); Not sure about the posted by link yet. I wish I'd never thought of this hack now |
#44
|
||||
|
||||
i fixed the smilies and posticon problem by adding a slash / in the edit smilies in the admin panel
also another problem merging threads won't work with your shorter url is it possible to show/display the real url in a small table on/under the thread or on the merge thread template i.e. display something like please input the thread to merge in the format http://animeboards.com/showthread.php?s=&threadid=XXXX where XXXX corresponds to http://animeboards.com/tXXXX/s.html |
#45
|
|||
|
|||
Quote:
There must be an easier way than this. I'm going to spend a few hours reading the Apache docs. I can't believe it needs to be this hard. |
#46
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|