Announcement

Collapse
No announcement yet.

[howto] Make your forum search-engine spiderable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • R. Bewley
    replied
    Any chance of bringing back the attachment on this one?

    Leave a comment:


  • xpBargains
    replied
    thanks for the hack. it's been work great except that on the top of the forum, there are some links for parent forums. it looks like
    "forums > main forums > sub forum"

    the links still contain session id. i couldnt find the template for it. can someone help? thanks.

    Leave a comment:


  • ULTIMATESSJ
    replied
    here u go
    Attached Files

    Leave a comment:


  • suffeks
    replied
    anyone mind reposting the .htaccess file or posting the code for it finally?

    Leave a comment:


  • ULTIMATESSJ
    replied
    i've tried this code, but whenever i add the .htaccess file, it always says forbidden, and won't let me do anything, i've tried chomoding everything, but still nothing comes from it

    Leave a comment:


  • suffeks
    replied
    well i have this in my file now:

    Code:
    Options +FollowSymlinks
    ErrorDocument 404 /forums/archive/index.php
    RewriteEngine on
    RewriteRule ^f(.*)-(.*).html forumdisplay.php?s=$1&forumid=$2
    RewriteRule ^t(.*)-(.*).html showthread.php?s=$1&threadid=$2
    i tried all sorts of different combinations of lines, since i'm a n00b. keeps on saying server misconfiguration. i had it working on the old server, but i moved, so now no luck...

    Leave a comment:


  • LanciaStratos
    replied
    Originally posted by suffeks
    could you please post your .htaccess file? or tell me the rewrite rules at least. thanks
    Sure. I've modified it a bit from what filburt posted, so if you use this exactly you will need to change the links in the templates to reflect this format, but it should still work for you.

    Code:
    RewriteEngine on
    RewriteRule ^f(.*)-(.*).html forumdisplay.php?s=$1&forumid=$2
    RewriteRule ^t(.*)-(.*).html showthread.php?s=$1&threadid=$2

    Leave a comment:


  • suffeks
    replied
    could you please post your .htaccess file? or tell me the rewrite rules at least. thanks

    Leave a comment:


  • LanciaStratos
    replied
    Originally posted by amykhar
    This works quite well. Before implementation, Google saw 8 pages of my board. Now it has hundreds. I tweaked a few more things and believe it will have thousands next go around.

    Amy
    Yeah, I tweaked it to spider the first 9 pages of multi-page threads and I've got 2500 forum pages listed in Google!

    Leave a comment:


  • suffeks
    replied
    hey, where did the attatchments go???

    Leave a comment:


  • amykhar
    replied
    This works quite well. Before implementation, Google saw 8 pages of my board. Now it has hundreds. I tweaked a few more things and believe it will have thousands next go around.

    Amy

    Leave a comment:


  • LanciaStratos
    replied
    Originally posted by TECK
    I think this way is better, eregi() is known as a slow function:
    http://www.vbulletin.org/forum/showt...706#post342706
    That's awesome. It wouldn't hurt anything using those changes with filburt's template modification, would it, just to be positive Google won't be met with sessionid's?

    Leave a comment:


  • TECK
    replied
    Originally posted by Dontom
    wouldn't this work too? I use this code in a shop application (osCommerce) and a link-directory-script
    (phplinks) and it works perfect on both - lots of pages got spidered...
    If it detects Googlebot as http-user-agent it sets the sessionid to null
    PHP Code:
    if (eregi("googlebot",getenv("HTTP_USER_AGENT" )) || eregi("internetseer",getenv("HTTP_USER_AGENT" )) || eregi("WebCrawler",getenv("HTTP_USER_AGENT" ))) { 
    $session NULL;

    Tom
    I think this way is better, eregi() is known as a slow function:
    http://www.vbulletin.org/forum/showt...706#post342706

    Leave a comment:


  • codewebs
    replied
    googles spiders my threads everyday now !!! thank you so much

    Leave a comment:


  • LanciaStratos
    replied
    Originally posted by Dontom
    wouldn't this work too? I use this code in a shop application (osCommerce) and a link-directory-script
    (phplinks) and it works perfect on both - lots of pages got spidered...
    If it detects Googlebot as http-user-agent it sets the sessionid to null
    PHP Code:
    if (eregi("googlebot",getenv("HTTP_USER_AGENT" )) || eregi("internetseer",getenv("HTTP_USER_AGENT" )) || eregi("WebCrawler",getenv("HTTP_USER_AGENT" ))) { 
    $session NULL;

    Tom
    Whoa, it looks like that would work, but I'm no PHP guru.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X