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 |
#232
|
|||
|
|||
Quote:
I'm have an issue with the navigation for the thread lists..... http://www.cyclingforums.com/f47 (the links/numbers) would I be right in thinking its a prob with my rewrite rules? #### edit #### I've uninstalled the changes that relate to this post, people started complaining about dead links thanks |
#233
|
|||
|
|||
Edit: Also added RewriteCond for search.php to make sure multi-page search result work properly.
Quote:
RewriteCond %{QUERY_STRING} ^(.*)-([0-9]+)\.html$ RewriteRule ^memberlist.php$ memberlist.php?%1&pagenumber=%2? [L] RewriteCond %{QUERY_STRING} ^(.*)-([0-9]+)\.html$ RewriteRule ^search.php$ search.php?%1&pagenumber=%2? [L] Edited my original post to reflect this. Please note, I have changed the positions for the 'perpage' and the 'pagenumber' from my initial post. ie. It used to be "f123-2-15.html" it is now: "f123-15-2.html" where 2 is the page number, 15 is 'how many' per page. I changed both the rewriterules as well as the templates to allow me adding the navigation link hack. Please refer to my original post. |
#234
|
|||
|
|||
Quote:
For all this trouble, Google rewards by sending a bunch of bots everyday hammering the site. BTW, I selected this hack instead of the archive hack because when visitors click on the Google results, they are taken straight to the forums instead of the archive pages. |
#235
|
||||
|
||||
lierduh, I've had your system running on my site for the past few months now... works great - Google has added thousands of my pages into its archive.
|
#236
|
|||
|
|||
Quote:
The same page nav works fine when on the page with the thread headings, just not the threads themselves. BTW i've uninstalled it again cause me users hate dead links :laugh: I'm not using .htaccess because i run the server its on and therefore can edit the conf file. cheers! |
#237
|
|||
|
|||
Quote:
There is no difference for the Rewriterules between httpd.conf and .htaccess There are only two areas that could go wrong, that is the templates which generate the URL and the Rewriterule that catches/matches your URL. Again, if you could post the Dead URL and your rewriterules, I might be able to pin point what you did wrong. |
#238
|
|||
|
|||
Quote:
##### edit ###### I've got it working, my rewrite rules were alittle messed up. Thanks for your help, I really appreciate it mate! *waits for google* cheers! |
#239
|
|||
|
|||
Quote:
|
#240
|
|||
|
|||
Quote:
Glad it is working for you. Don't forget the last hack (RewriteCond) regarding the memberlist. Otherwise your member list navigation will not work. Fortunately this is a simple one, only need to add two lines to your rewriterules. Waiting for more things to break, I am sure there is. eg. Merge Thread does not work anymore due to the new URL. Do I care to fix this is another question. |
#241
|
||||
|
||||
When I say "your" system, lierduh, I mean the multiple page version of this hack. I don't use the same hack as you, I've customised my own version.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|