![]() |
Thanks! I didn't even think about excluding the placeholding banners to raise the clickthrough percentage. Simple but great javascript.
|
Quote:
I might start to look into fixing the bugs you pointed out, only problem (or not for some) is the VB3 is around the corner...:) |
If my forums are installed in a subdomain say http://forums.mydomaindomain.com and not the root or a subdirectory like this http://www.mydomain.com/forums , how do i proceed ??
Any special changes to be made ?? Thanks |
Quote:
|
What an awesome hack and additional features added! Great job.
I was just thinking, would it be beneficial to your search engine listing to have maybe a keyword in the file name? For example instead of http://yoursite.com/t24232.html it could be something like: http://yoursite.com/XXXXXXX-24232.html (replace XXXX with any keyword you wish. I'm not too sure how beneficial this might be for rankings, but I've seen it mentioned several times that having keywords in file names is better for rankings? Would this be hard to do or practical? Do you think it would be beneficial? Or maybe even pulling in the title of the thread into the file name? Maybe I'm totally off base here and don't have a clue of what I'm talking about :) If so, just tell me so. |
Quote:
|
Nevermind, if anyone is looking for a fix:
https://vborg.vbsupport.ru/showthrea...131#post190131 :D Could someone (ehem, moderators) edit this and put the link to the post in the first post? ;) |
Ok, I have everything working but I have 1 question?
If you goto this thread: http://www.intense-training.com/forums/t3457.html and then goto the top of the page and click "General Discussion Board" it goes to http://www.intense-training.com/foru...hp3?forumid=12 instead of http://www.intense-training.com/forums/f12.html How can I fix that? |
bump for help!
|
You can only resolve that by editing the PHP code.
Most of the links that are constructed use the templates... which you've already adjusted... but some use the PHP functions to generate the links... such as the pagination and bread crumb navigation bits. I don't recall the precise change I did to have mine working... but you can emulate what I did by simply searching all of your PHP files for "forumdisplay" and then making the judgement call as to whether you should change that instance of it. I think you're likely to find that bit in admin/functions.php though ;) |
does this work for 2.3.2 without problems?
i need a .htaccess Version that works with 2.3.2. Please help me :( |
Hey guys,
Having gone through this thread from the beginning to establish the definitive hack installation, the mention of vb3 caught my eye. Will vb3 have spider-friendly URLs by default? If so, when is it coming out, any ideas? Is it possible to download a beta? M. |
Does this works for:
1) 2.3.2 2) vB3 beta 7 ? |
Quote:
Quote:
but being cautious... i'd say don't do this until VB gets out of beta... they'd be too many releases and too much pain re-implementing on each version in between |
hello,
I am using this hack, ... lierduh's instructions in this post https://vborg.vbsupport.ru/showpost....&postcount=223 and its is working fine with some minor problems. I have teh done exactly the same as you specified in that post excepting this change as i could not find that code in my online.php Quote:
Please check this page : http://hostmarket.hostbubble.com/f22.html It does show the multiple pages, but when i clcik on the second page, it shows all the threads and there is no links at the bottom for next or previous page. What wrong have i done. My forum is here : http://hostmarket.hostbubble.com Thanks much for any help Cheers |
Okay, I think, i have solved the above mentioned problem and works fine.
However, i'll have to say that, what works on my forum is : for multi page nav - this is the urls : t3-5.html and not of this type t3-15-5.html ... and actually this t3-5.html works fine. Is that okay and should not have any other problems ??? Okay, another request though : is it possible to convert the forum jump url's and page navigation urls ( Marketplace > HostBubble Lounge > Suggestions & Feedback ) also to static using lierduh instructions and buro9 instructions. Thanks much |
Help, found a little problem
When I try and Update my counters I get a error for: Update Thread Info Database error in vBulletin Control Panel 2.2.9: Invalid SQL: UPDATE thread SET lastpost=1055471230,replycount=9,postusername='tla ne', postuserid='2575', lastposter='GYMBRAT',attach= WHERE threadid=1999 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE threadid=1999' at line 1 mysql error number: 1064 Date: Thursday 11th of December 2003 03:38:08 PM Script: http://www.intense-training.com/foru...dmin/misc.php3 Referer: http://www.intense-training.com/foru...ion=chooser&s= Thanks iceman |
Quote:
Without the session ID, Googles etc will index the forums. Find sessions.php under includes. Note the codes already include disabling session ID for Googles. What I have done is: diff sessions.php~ sessions.php PHP Code:
With forums used my rewriterules. It is essential to modify the rewriterules so that an old link to the f123.html etc still works, search engine will have your old URL for the forums and threads, you need to make sure they work. I have: Code:
RewriteEngine on |
I have noticed Google does not index the archive pages. Probably the contents of the url after the "index.php/" are ignored by Google. I have made a rewrite rule trying to overcome this.
RewriteRule ^arc/(.*)$ archive/index.php/$1 [L] All I need to do is including the above to my existing rules, and find "footer" template, change "archive/index.php/" to "arc/". Nothing else needs to be changed. The actual url for Google to see will be: http://www.mysite.com/arc/f-40 etc. Now if Google does not index this, I don't know what would they index.:) (I am using v3 Gamma at the moment). |
I'm been hacking vB2 for quite a long time (about two years), but still I could not figure out all about the re-write function that some vb board use. And now with vb3 Gamma things have changed. What I could really use would be:
1) every forum (forumdisplay.php?f=55, for example) has another field called "description", let's say "sport", for example. 2) every subforum can be called as /forums/sport and it goes right to it, with no ".php?f=" between them 3) it should be as an on/off option admin could choose from Respect, Marco |
I don't have a "httpd.conf" file...now what?
|
hey lierduh or anyone else, after installing this hack, now me and my members can't view threads over 30 days old and I did set all my forums to show threads from the beginning.
Can anyone please help me fix this because google wont be able to index pages that are older than 30 days even though I dont care about that but I want my members to be able to view their old post or bring old posts back up. Please someone post a fix for this |
Anyone got this working with vB3 RC2 ?
my forum urls are forumdomain.com/f123/s forumdomain/t234/s.html my old rewrite rules for vB 2.3.x were Code:
RewriteEngine on Code:
AddType text/x-server-parsed-html .html so i gave up and tried looking for ways to use mod_rewrite to instead redirect to a file with message of the new url location using this code in url.php PHP Code:
but problem is if i use mod_rewrite such as Code:
RewriteEngine on any ideas ? |
Quote:
However, it's a very sound theory still and does neaten the whole URL thing. And because it's you who ask so soon eva2000 I'll look at it when I do my upgrade to VB3. How comprehensive do we want it? Last time it was reasonably comprehensive... but do we want to extend it to ALL URL's? Save for the form post ones obviously... just the ones that guests can get to... such as Member Profiles and Calendar entries as well as the Home, Forum, Thread, Post and top level pages. Maybe this time we can get it all into one nice big (enormous ;)) install file. Anyhow... I'll look into it soon... I have to renew my vBulleting subscription first! tsk! For reference to others... here were the last iteration of the rewrite rules I was using on my server: Code:
RewriteEngine on I was putting the datestamp of the avatar in the avatar URL so that each upload of a custom avatar would result in a unique URL :) Anyway... I'll look at the VB3 possibilities once I get my license and a copy of the code... which should be in a week or two :) Cheers David K |
thanks David.. i think to keep it simple to forum and thread links
forumdomain.com/f123/s forumdomain/t234/s.html i don't even mind if these redirect to the real longer url, just as long as they point to the respective forum id or thread id to keep my in-forum post referenced links valid (otherwise members who posted links using shorter urls in their past posts would all be invalid) |
That's even easier then ;)
I'll knock up something that does redirects so that your existing links in posts aren't broken :) I'll try and do that this weekend... and that bit should be possible without the codebase :) |
Quote:
You might like to enable the rewrite log to debug the problem. I have an example at: http://www.vbulletin.com/forum/showp...7&postcount=89 My current rulesets for the legacy links are posted here: https://vborg.vbsupport.ru/showpost....&postcount=298 They have worked for me since beta 7, then Gamma, now RC2. Also, if you disable the error redirects, I might be able to work out the problem if you provide a sample link. For other people who is looking at doing this hack, I can't think of a reason to implement this hack in vB3. Just kill the session id in seesions.php, the bots will index the pages. Make sure to include a robots.txt file to exclude member.php etc!!! |
Quote:
In your forum directory, set up your .htaccess to contain the following: Code:
RewriteRule ^f([0-9]+)\/s$ forumdisplay.php?f=$1 [R=301] RewriteRule ARG1 ARG2 ARG3= If the URL requested matches the first arg, perform the second arg accord to the rules of the final arg. ARG1 = Regular expression to match. In our case, ^f([0-9+])\/s$ where ^ = start of line, ([0-9]+ ) = 1 or more numbers, \/ = escaped forward slash (has to be escaped within a regexp), $ = end of line. ARG2 = URL to request instead. In our case we also include $1 which is the first matching part of the regexp in ARG1 which is the number... the forumId. ARG3 = Rule to dictate how to handle the ARG2 URL... [L] would bring it inline (leave the browser URL as it is and force the URL to the output stream without redirect)... I'm using [R=301] which is to send back a http 301 error which is "Moved Permanently"... I do this as I want Google and search engines to update all of their links over time and quite hitting the legacy ones. So that's your solution eva ;) Though do bug me if I screwed that up... I've only just finally got round to it... and the 301 error may require a fully qualified URL and not a relative one. Anyhow... this is now to help the people who are NOT upgrading their VB2 but, are doing a fresh install of VB3 at a new URL and are archiving their VB2. I'm not sure how many of these there will be... but our forum quite enjoys the zest of occassional re-births... and it will help to ensure that our VB3 threads are truly threaded from day 1. So... I've got this URL at the moment: http://www.bowlie.com/forum/ And I'm moving that forum to: http://www.bowlie.com/2003/ And putting VB3 on the /forum/ URL. Yes I have lots of VB licenses ;) Anyhow... I want all t*.html links to go through to the archived forum... to keep all of the search engine results valid. And I want all of the f*.html links to go through to the new forums on the new board. The threads are easy to map: Code:
# The forumid's on both the old and new sites are different... so what was forumid = 4 on VB2 is now forumid = 11 on VB3. So I need a map to track these and then set up all of the RewriteRules. I've created a javascript array of the forumids... where the first value is the VB2 forumid, and the second value is the VB3 forumid. Some forums won't exist on my VB3 site... so those links will go through to the archive too. I've then created a simple bit of JavaScript which when run from Internet Explorer (doesn't work in Mozilla as that is standards compliant ;)) will produce my rewriterules for me: Code:
<script type="text/javascript"> The output can then be pasted into your .htaccess and you will have: Legacy forum URLs for forums that exist on your new VB going to VB3 Legacy forum URLs for forums that don't exist on your new VB going to VB2 Legacy thread URLs going to your VB2 Google would start spidering your new VB3 links pretty soon, including the new thread ones. Now... if all of that went straight over your head... just ignore it and don't do any of it ;) It's there to help other users that like me have installed this hack widely, indexed heavily by Google and are choosing to have a fresh VB3 and archive their VB2... that may be no-one else here... in which case... ignore this ;) |
I don't own my own server yet, But my question is. does the the .htaccess file and httpd.conf file exsit on each domain registered on the server, or just one file alone for all domain being hosted by the provider? www.computerproblems.org is the site im refering to.
|
http.conf is used for the global Apache configuration, this file only occurs once, you can specify per domain options in the relevent sections too. .htaccess is used for per directory (and any sub directory) options, so if placed in public_html (or similar) should effect the whole site unless another directory overrides the config.
|
Thanks, can this hack be used with just moding the .htaccess file only?
|
I'm pretty sure it can, but I've never used it.
|
Anyone know how we would be able to use this with just the .htaccess file? I would love to have this hack on my boards, been seeing some great responds.
|
Help!!!
I have installed all of the additions to this great hack, but I have one major problem! When I goto Update my counters, I get a an error, trying to "Update Thread Info" I get this Database error in vBulletin Control Panel 2.2.9: Invalid SQL: UPDATE thread SET lastpost=1055471230,replycount=9,postusername='tla ne', postuserid='2575', lastposter='GYMBRAT',attach= WHERE threadid=1999 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE threadid=1999' at line 1 mysql error number: 1064 Date: Wednesday 04th of February 2004 06:26:13 PM Script: http://www.intense-training.com/foru...dmin/misc.php3 Referer: http://www.intense-training.com/foru...ction=chooser& |
Quote:
|
This one would be good for vB3 ...
|
I agree, I really miss this hack. 300 extra guests are allways welcome you know ;), ANYONE successfully implemented this hack on vb3?
|
This looks cool.. I would like to install tis for VB 3.0.1. when or if it's available.
Dave |
Please understand, there is no need for VB3 to have this hack.
The Archive system is designed to feed the robots. Besides the main forums are indexed by Googles etc due to the removal of session ID from the URL. The script detects spiders by its user agent and disables the session ID if found. If anything, one might want to shorten the Archive's URL to potentially increase the ranking. eg. /archive/index.php/f-35.html to /arc/f-35.html This can be easily achieved by using rewrites. |
My archives are not working.. not vbulletin problem, but apparently the sever i am hosted on doesn;t support some feature for that to work. Is there anything else i can do?
|
All times are GMT. The time now is 06:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|