![]() |
I've tried to do the compare html, but its much harder than just making a txt file, saying remove here, add here, place under this, place over that etc. As far as I know this hack is implete or just not designed for 3.5.0 .. although I'm sure its a good hack for RC3 users, gold I can't get it to work.
|
Quote:
Your permissions are wrong, and by the sound of it, you do not fully understand chmod.:) The good thing is at least you explained what you have done instead of saying: "I have the errors, tell me how to fix". Please list your directory permissions here. (two #ls -l output) Let me guess, you changed the permission for the files, not the DIRECTORIES as my instruction. You said you changed your root? (I highly doubt,:) do you mean '/' or the base directory of your vB install? When you have 750, what are the ownership of the directory? User ownership and group owership? It is very weird to set a web directory to 750, usually you would need to at least have 751, or 755. ============= Instruction I will include in the next readme file: The script will need to write files to two directories. 1) The base vB directory 2) the archive directory. You will need to change the DIRECTORY permissions for these two directories. Let's presume your directory structure is: ~public_html ('~' means it is under your user home directory, the acture directory should be something like: /home/your_isp_user_name/public_html) ~public_html/showthread.php ... ~public_html/archive/ ~public_html/archive/index.php ... You need to do: 1) change the permission for the vB base directory. So #chmod 777 public_html (or #chmod 777 ~public_html if you are not already under your home directory) 2) change the permission for the archive directory. Do #chmod 777 public_html/archive (or #chmod 777 ~public_html/archive or #chmod 777 archive if you use some kind of web based control panel) ============= I really wish someone who can write a better instruction for changing directory permissions for me. 50% of the problems using this hack are permission related. |
Quote:
|
I have cpanel system, was using wsftp to chmod the directories. As per your instructions. by Root I ment public_html .. its a cpanel permission thing, as base permission. anyway I did what you asked in your intructions(readme, not whats above), but for some reason it was greifing, I've never had an issue with chmod till trying to do this script, I figoured it was RC3 issue not vb3.5.0 .. I'll give it a shot again with your info about :)
.. in instructions above, the only thing I missed was permissions on /forum/ from how you explained it above. I'll try again and post results. my setup is pubic_html/forum/archive .. your saying in your setup in relation to mine to do /forum/ = 777 and /archive/ = 777, which is what I'll try next, currently I'm in sleep typing mode. |
Quote:
It's been a few days now, guess what http://www.google.be/search?hl=nl&q=...e+zoeken&meta= 9.640 listed already, coming from 642 just 2 days ago!!!!!! Man this hack rocks, you deserve to win hack of the month + hack of the year for all I care :D ps: just need a better explanation for step 3, I couldn't do that one. |
I have a problem though... you're making a sitemap gz for each forum, well, some of my forums are big:
Quote:
So we'd start with: http://www.bowlie.com/forum/archive/sitemap_4_1.gz And when we passed an arbitrary value (make it a setting in the file in case Google change it later) we would move onto: http://www.bowlie.com/forum/archive/sitemap_4_2.gz http://www.bowlie.com/forum/archive/sitemap_4_3.gz through http://www.bowlie.com/forum/archive/...p_4_9999999.gz etc As it stands, Google is now refusing to pay attention to my mine as the one that exceeds it basically causes the whole thing to error. |
Quote:
|
Does this workd on 3.5.0 Gold?
|
What are we looking for when this script runs. I see alot of zip files or whatever in the archive section but nothing in the other sections..is this right
|
Quote:
|
This is something I had in mind to implement.:) So next version will certainly contain this feature.
I think I should be able to push a new version out this weekend including better documentation for the step 3. I have been waiting for the vB Gold. Quote:
|
is it normal for my site to still be PENDING after 6 hours at google. And how does my site know what account i'm using to resubmit it automatically?
|
Quote:
Google Spider still only looks at the normal threads in who's online? Only the Yahoo! Slurp Spider looks at the archives? |
Hi there,
I'm very happy with the archive redirection. That's pretty slick stuff, and it seems to be working great. The sitemap submission to google hasn't really taken effect quite yet, but it's only be 36 hours since submission (I imagine that these things can take some time). Yahoo is going bonkers on us, though! Anyway, I've submitted a bug/feature request to vbulletin as a result of installing this mod. You can see it here: http://www.vbulletin.com/forum/bugs3...iew&bugid=1576 Specifically, it has to do with the way in which $show['search_engine'] is defined, which seems important as it plays quite an important role in this particular mod. Looking at the definition of $show['search_engine'] seemed important as I, like others, have noticed that sometimes googlebot doesn't want to get redirected from showthread to the archives. (as seen in /includes/init.php) Code:
$show['search_engine'] = ($vbulletin->superglobal_size['_COOKIE'] == 0 AND preg_match("#(google|msnbot|yahoo! slurp)#si", $_SERVER['HTTP_USER_AGENT'])); Code:
$show['search_engine'] = (true AND preg_match("#(google|msnbot|yahoo! slurp)#si", $_SERVER['HTTP_USER_AGENT'])); Hope this helps some of you guys... ~mike. |
Quote:
Just for clarity's sake, I was having the same problem you are having. Try my mod (in the post above this one), and see if that helps. ~mike |
Quote:
I noticed google is mutch less effective in comparison: - only 1 spider most of the time (yahoo 10 or more) - yahoo is now always in the archives, googlebot almost always not - googlebot still goes to pages like printthread and member.php , and that even with a robot.txt disallowing that to happen. MSN bot has not gone further than index.php, so looks like yahoo is just a better bot? Now I have 2 questions regarding robots.txt: - I have one both in the site root en the vbulletin root, is this needed , if not, what is the correct place (from what I have read it should be the site root) - Is the .php extention needed for disallowing files, some say it's best to not include it, i have not seen a difference so far. |
Looks great so far. One question about mod_rewrite
using Quote:
(not exactly for me because I can probably get it working, but anyone else that might need this as well.) |
Quote:
if you're trying to explicitly define specific files (ex. /forums/showthread.php), then you should define that entry in your robots.txt file. there's no point in not putting the ".php" at the end (ex. /forums/showthread), it doesn't buy you anything. it can actually have a negative impact if your entries aren't defined well. say you're trying to tell search engines to ignore "/forum/s.php" (this is just hypothetical). if you were to just put "/forum/s" in your robots.txt, then, in addition to blocking "/forum/s.php", you'd be blocking "/forum/showthread.php", "/forum/search.php", "/forum/showgroups.php", anything else where the url starts with "/forum/s" .... as you can see, it's important to be as specific as possible, otherwise you risk shutting spiders out of huge chunks of your site. |
Quote:
301 code just tells the bot that the link has permanently moved. it would take a second request from the spider to actually jump to the archives. if the spider is slow (as googlebot and msnbot typically are), i can see how it would appear as though googlebot was sitting in showthread, instead of being directed to the archive.... |
I have a new version ready to be released. If anyone wants, you can download this and try out before I put together the package.
I still need to do the documentation for the modifications of index.php and global.php files. |
Quote:
RewriteRule ^forums/index.php$ forums/ [R=301,L] Should do. |
Quote:
Quote:
So, I go from this: PHP Code:
PHP Code:
|
I remember now, someone else reported this as well. I think it might be php5 related. I don't have php5 to test, so I think I won't unset cookies then.:)
Thanks. Quote:
|
Quote:
I have a few questions (also for the author of this thread: ) What does http://www.vbseo.com have that this hack doesn't provide. Is this worth buying, or is it basically the same? What do you think about the tips/hack provided on this site: http://forum.time2dine.co.nz/seo-vbu...lletin-98.html he has nr1 ranking on google for "vbulletin SEO" keywords. |
Basically my hack only lets Google index the real contents of the forums using vB archives. I do not think it is neccessary to let Google index both the full version threads and the archives. For more details and reasons, please read my open post.
|
Ok, My site has been pending for almost 2 days. They say "several hours" wtf? anyone else get this?
|
Is it crucial that I change permission for the root or my forum directory? I haven't changed them and it's been working fine. I did change my /archive/ to 755, but not ./
does it make that much of a difference? |
Quote:
|
ummm all is goinbg well but what the helldo i have to do for step 3 it doesnt make any sense to me :(
any help would be fantastic :D |
hey lierduh,
I've been playing around a bit with the robot detection. I snagged a bunch of code from "online.php", hacked it up a bit, and came up with this (as a drop-in replacement for the "is_robot_visit" function. This one uses the spiders_vbulletin.xml file, which I recommend people updating. The 3.5.0 gold version is fairly vanilla. I got an updated one from here: http://www.vbulletin.com/forum/showp...5&postcount=12 Anyway, here's the change to global.php (this is assuming that you have the very latest version of lierduh's code :) ) PHP Code:
|
update: I went so far as moving the code out of "archive/global.php" into "includes/init.php", where $show['search_engine'] is defined.
I replaced: PHP Code:
PHP Code:
|
You guys have time for "the redirect to the actual thread for human visitors" instructions in step 3?
Or maybe you can just send the 2 files? The ones in the zip don't make any sence to me :( |
if lierduh could provide patchable diff's between the gold (3.5.0) and his modifications, that'd be awesome (I'd do it, but I've hacked up my files way too much, sorry).
lierduh, this page shows how: http://www2.linuxjournal.com/article/1237 it'll make modifying the vanilla files much easier. |
Quote:
same here i aint got a clue what to do :( |
Thanks falter. I will merge your code in my next release. With the Stadler's updated xml file. It will be better using the xml file than my string. I should be able to make that into plugins. So that no code needs to be changed regarding search engine crawler detection.
I also have an idea that I should make threads with new posts higher sitemap priority. So a new version is not far away.:) It is good to see hackers work together creating better code. It makes it more interesting than explaining how to set permissions. :) I have attached patch.diff for the two files. Quote:
|
Great hack, thanks alot!
|
lierduh, are you sure that you're diffing a modified 3.5.0 (gold) against the original 3.5.0 (gold) ? I'm having problems running the diffs as patches against the 3.5.0 gold versions of the files (pulled straight out of the tarball).
regardless, perhaps the diffs are the wrong route? Maybe it would do better service to the less technical users if you had some instructions for code modifications that were similar to many of the others hacks? (ex. find [this block of code] add [this chunk of code] right after it, bla bla bla). |
Quote:
|
I do not get your two files at all.
|
Did you chmod 777 your home folder?
|
All times are GMT. The time now is 10:53 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:
|